{"id":"CVE-2026-54163","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-54163","generatedAt":"2026-10-28T03:42:29.883Z","title":"When untrusted input reaches SecureHeaders.override_content_security_policy_directives or append APIs for :sandbox, :plugin_types, or :report_to, an attacker can inject a CSP directive such as script-src 'unsafe-inline' * before the legitimate…","description":"secure_headers manages application of security headers with many safe defaults. Prior to 7.3.0, secure_headers builds the Content-Security-Policy value by stitching directives with ; separators, and build_sandbox_list_directive, build_media_type_list_directive, and build_report_to_directive interpolate caller-supplied strings without scrubbing ;, \\r, or \\n. When untrusted input reaches SecureHeaders.override_content_security_policy_directives or append APIs for :sandbox, :plugin_types, or :report_to, an attacker can inject a CSP directive such as script-src 'unsafe-inline' * before the legitimate script-src, enabling XSS reachability through these sinks or CSP report exfiltration. This issue is fixed in version 7.3.0.","published":"2026-07-17T21:17:08.000Z","lastModified":"2026-10-24T20:10:00.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79","CWE-113"],"affected":[],"epss":{"score":0.00214,"percentile":0.11641,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.21%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/github/secure_headers/commit/286a79dea80c6a9be4ca93e0f284c923cf77e539","source":"security-advisories@github.com"},{"url":"https://github.com/github/secure_headers/releases/tag/v7.3.0","source":"security-advisories@github.com"},{"url":"https://github.com/github/secure_headers/security/advisories/GHSA-rqq5-2gf9-4w4q","source":"security-advisories@github.com"},{"url":"https://github.com/github/secure_headers/security/advisories/GHSA-rqq5-2gf9-4w4q","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54163","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}