CVE-2024-54133
Possible Content Security Policy bypass in Action Dispatch
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.002% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Assessment source · checked 2026-11-19T12:57:21.051Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:21.051Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.514Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.680Z | OSV |
| affected | verified | 2026-11-19T12:57:21.051Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:21.051Z | CVE Program |
Affected versions and configuration
rails rails; default status: unknown: >= 5.2.0, < 7.0.8.7 [affected; scheme: unspecified]; >= 7.1.0, < 7.1.5.1 [affected; scheme: unspecified]; >= 7.2.0, < 7.2.2.1 [affected; scheme: unspecified]; >= 8.0.0, < 8.0.0.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "rails",
"product": "rails",
"versions": [
{
"status": "affected",
"version": ">= 5.2.0, < 7.0.8.7"
},
{
"status": "affected",
"version": ">= 7.1.0, < 7.1.5.1"
},
{
"status": "affected",
"version": ">= 7.2.0, < 7.2.2.1"
},
{
"status": "affected",
"version": ">= 8.0.0, < 8.0.0.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-54133",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-12-11T16:05:59.623098Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-12-11T16:06:09.364Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://security.netapp.com/advisory/ntap-20250306-0010/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-03-07T00:10:45.315Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vfm5-rmrh-j26v",
"aliases": [
"BIT-rails-2024-54133",
"CVE-2024-54133"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.2.0"
},
{
"fixed": "7.0.8.7"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"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",
"5.2.6.2",
"5.2.6.3",
"5.2.7",
"5.2.7.1",
"5.2.8",
"5.2.8.1",
"6.0.0",
"6.0.0.beta1",
"6.0.0.beta2",
"6.0.0.beta3",
"6.0.0.rc1",
"6.0.0.rc2",
"6.0.1",
"6.0.1.rc1",
"6.0.2",
"6.0.2.1",
"6.0.2.2",
"6.0.2.rc1",
"6.0.2.rc2",
"6.0.3",
"6.0.3.1",
"6.0.3.2",
"6.0.3.3",
"6.0.3.4",
"6.0.3.5",
"6.0.3.6",
"6.0.3.7",
"6.0.3.rc1",
"6.0.4",
"6.0.4.1",
"6.0.4.2",
"6.0.4.3",
"6.0.4.4",
"6.0.4.5",
"6.0.4.6",
"6.0.4.7",
"6.0.4.8",
"6.0.5",
"6.0.5.1",
"6.0.6",
"6.0.6.1",
"6.1.0",
"6.1.0.rc1",
"6.1.0.rc2",
"6.1.1",
"6.1.2",
"6.1.2.1",
"6.1.3",
"6.1.3.1",
"6.1.3.2",
"6.1.4",
"6.1.4.1",
"6.1.4.2",
"6.1.4.3",
"6.1.4.4",
"6.1.4.5",
"6.1.4.6",
"6.1.4.7",
"6.1.5",
"6.1.5.1",
"6.1.6",
"6.1.6.1",
"6.1.7",
"6.1.7.1",
"6.1.7.10",
"6.1.7.2",
"6.1.7.3",
"6.1.7.4",
"6.1.7.5",
"6.1.7.6",
"6.1.7.7",
"6.1.7.8",
"6.1.7.9",
"7.0.0",
"7.0.0.alpha1",
"7.0.0.alpha2",
"7.0.0.rc1",
"7.0.0.rc2",
"7.0.0.rc3",
"7.0.1",
"7.0.2",
"7.0.2.1",
"7.0.2.2",
"7.0.2.3",
"7.0.2.4",
"7.0.3",
"7.0.3.1",
"7.0.4",
"7.0.4.1",
"7.0.4.2",
"7.0.4.3",
"7.0.5",
"7.0.5.1",
"7.0.6",
"7.0.7",
"7.0.7.1",
"7.0.7.2",
"7.0.8",
"7.0.8.1",
"7.0.8.2",
"7.0.8.3",
"7.0.8.4",
"7.0.8.5",
"7.0.8.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-vfm5-rmrh-j26v/GHSA-vfm5-rmrh-j26v.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.5.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"7.1.0",
"7.1.1",
"7.1.2",
"7.1.3",
"7.1.3.1",
"7.1.3.2",
"7.1.3.3",
"7.1.3.4",
"7.1.4",
"7.1.4.1",
"7.1.4.2",
"7.1.5"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-vfm5-rmrh-j26v/GHSA-vfm5-rmrh-j26v.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.2.0"
},
{
"fixed": "7.2.2.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"7.2.0",
"7.2.1",
"7.2.1.1",
"7.2.1.2",
"7.2.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-vfm5-rmrh-j26v/GHSA-vfm5-rmrh-j26v.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.0.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"8.0.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-vfm5-rmrh-j26v/GHSA-vfm5-rmrh-j26v.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-54133",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3a",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/5558e72f22fc69c1c407b31ac5fb3b4ce087b542",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/cb16a3bb515b5d769f73926d9757270ace691f1d",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-54133.yml",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250306-0010",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2024-12-10T23:15:06Z",
"github_reviewed_at": "2024-12-10T22:42:27Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 7.0.8.7 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 7.1.5.1 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 7.2.2.1 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 8.0.0.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.680ZArchived source JSON
Source publication: 2024-12-10T22:42:27.000Z
Source modification: 2025-03-07T03:51:16.783ZDocument fingerprint
d399715cc7aaad5b333cd35318e478e46c7b6d1f171c2c980651710472a11e1c - CVE ProgramConsulted: 2026-11-19T12:57:21.051ZArchived source JSON
Source publication: 2024-12-10T22:52:04.633Z
Source modification: 2025-03-07T00:10:45.315ZDocument fingerprint
e75819b5a05345d9ea17045fdc9cf0695fd98d2aadcdbaba9811656ff5f60918 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:39.514ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c07aa8e6fdfc310c84fe1ac9be92e31e56fc57bead56722404a3841425dfa449
Official status history
- UNKNOWN → PUBLISHED · · evidence