Loading advisory.
Loading advisory.
Possible Content Security Policy bypass in Action Dispatch
There is a possible Cross Site Scripting (XSS) vulnerability in the content_security_policy helper in Action Pack.
Published 2024-12-10 22:42 UTC · Modified 2025-03-07 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| actionpack | RubyGems | >= 5.2.0, < 7.0.8.7 >= 7.1.0, < 7.1.5.1 >= 7.2.0, < 7.2.2.1 >= 8.0.0, < 8.0.0.1 versions 5.2.0, 5.2.1, 5.2.1.1, 5.2.1.rc1, 5.2.2, 5.2.2.1, 5.2.2.rc1, 5.2.3, 5.2.3.rc1, 5.2.4, 5.2.4.1, 5.2.4.2, 5.2.4.3, 5.2.4.4, 5.2.4.5, 5.2.4.6, 5.2.4.rc1, 5.2.5, 5.2.6, 5.2.6.1 and 122 more | 7.0.8.7, 7.1.5.1, 7.2.2.1, 8.0.0.1 | gem install actionpack -v 7.0.8.7gem install actionpack -v 7.1.5.1gem install actionpack -v 7.2.2.1gem install actionpack -v 8.0.0.1 |
There is a possible Cross Site Scripting (XSS) vulnerability in the content_security_policy helper in Action Pack.
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.
The fixed releases are available at the normal locations.
Applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input.
Thanks to ryotak for the report!
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.010 on 2026-11-24 to 0.017 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.010 | first score | v2026.06.15 |
| 2026-11-26 | 0.017 | 0.010 | v2026.06.15 |