CVE Tools

CVE-2024-54133

Possible Content Security Policy bypass in Action Dispatch

Published: Dec 10, 2024Updated: Mar 7, 2025 Sources: CVE List NVD GHSA BDUCWE-79
4.3CVSSMEDIUM

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 Vector Breakdown

AV:NAC:LC:NI:LA:N
Exploitability
AV:NAccess Vector
Network
AC:LAccess Complexity
Low
Impact
C:NConfidentiality
None
I:LIntegrity
L
A:NAvailability
None

Weaknesses

Affected Products

railsoss-projectOSS Librariesaka rails-html-sanitizer, activestorage
rubygemspackage-ecosystemOSS Libraries
red hat inc.commercialUSOperating Systemsaka red hat
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 4 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

MITRE ATT&CK

2 techniques
Execution
Initial Access
View detailed technique mapping

References

and 18 more references View all →

Timeline

Published
Dec 10, 2024
Last Updated
Mar 7, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2024-54133 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows