{"cve":"CVE-2024-54133","nvd":{"published":"2024-12-10T23:15:06.240","modified":"2026-06-17T08:09:49.960","status":"Deferred","description":"Action Pack is a framework for handling and responding to web requests. There is a possible Cross Site Scripting (XSS) vulnerability  in the `content_security_policy` helper starting in version 5.2.0 of Action Pack and prior to versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1. Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks. Versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1 contain a fix. As a workaround, applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.3},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49","https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3a","https://github.com/rails/rails/commit/5558e72f22fc69c1c407b31ac5fb3b4ce087b542","https://github.com/rails/rails/commit/cb16a3bb515b5d769f73926d9757270ace691f1d","https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:57:36.180738747+00:00"},"epss":{"cve":"CVE-2024-54133","score":0.01002,"percentile":0.62902,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vfm5-rmrh-j26v","url":"https://osv.dev/vulnerability/GHSA-vfm5-rmrh-j26v","summary":"Possible Content Security Policy bypass in Action Dispatch","modified":"2025-03-07T03:51:16.783800Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=5.2.0 <7.0.8.7"],"fixed":["7.0.8.7"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=7.1.0 <7.1.5.1"],"fixed":["7.1.5.1"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=7.2.0 <7.2.2.1"],"fixed":["7.2.2.1"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=8.0.0 <8.0.0.1"],"fixed":["8.0.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}