{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54163","published":"2026-07-17T21:17:08.107000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Deferred","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79","CWE-113"],"cpes":[],"cpes_truncated":false,"vendors":["github"],"products":["github/secure_headers"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rqq5-2gf9-4w4q","ecosystem":"RubyGems","name":"secure_headers","purl":"pkg:gem/secure_headers","ranges":[{"introduced":"0","fixed":"7.3.0"}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","1.0.0","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0","1.4.1","2.0.0","2.0.0.pre","2.0.0.pre2","2.0.1","2.0.2","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","3.0.0","3.0.0.pre","3.0.0.pre1","3.0.0.pre2","3.0.0.pre3","3.0.0.rc1","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.5.0","3.5.0.pre","3.5.1","3.6.0","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.8.0","3.9.0","4.0.0","4.0.0.alpha01","4.0.0.alpha02","4.0.0.alpha03","4.0.0.alpha04","4.0.1","4.0.2","5.0.0.alpha01","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.1.0","5.2.0","6.0.0","6.0.0.alpha01","6.0.0.alpha02","6.0.0.alpha03","6.1.0","6.1.1","6.1.2","6.2.0","6.3.0","6.3.1","6.3.2","6.3.3","6.3.4","6.4.0","6.5.0","6.6.0","6.7.0","7.0.0","7.1.0","7.2.0"],"versions_truncated":false}],"severity":"medium","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-54163/","html_en":"/en/cve/CVE-2026-54163/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54163","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54163"},"untrusted":{"vendor_name":"github","product_name":"secure_headers","desc_en":"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.","affected":[{"untrusted_vendor":"github","untrusted_product":"secure_headers","versions":[]}],"references":[{"url":"https://github.com/github/secure_headers/commit/286a79dea80c6a9be4ca93e0f284c923cf77e539","tags":[]},{"url":"https://github.com/github/secure_headers/releases/tag/v7.3.0","tags":[]},{"url":"https://github.com/github/secure_headers/security/advisories/GHSA-rqq5-2gf9-4w4q","tags":[]}]}}