CVE-2024-54133

Possible Content Security Policy bypass in Action Dispatch

LOW
2.3
CVSS Score
Published: December 10, 2024 at 10:52 PM UTC
Updated: June 17, 2026 at 08:09 AM UTC
1 product affected across 1 vendorRails

Using rails by rails?

Get instant alerts when new vulnerabilities affect rails - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.3
Exploit prediction
EPSS 1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 7.0.8.7v < 7.1.5.1v < 7.2.2.1v < 8.0.0.1
Affected range stops below 7.0.8.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.5.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.2.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.0.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.3LOWGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card