CVE-2024-54133
mediumpriority · track · 0EPSS 0.010 · 63 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedruby4.0-rubygem-actioncable-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actioncable-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actioncable-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actioncable-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailbox-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailbox-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailbox-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailbox-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailer-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailer-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailer-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionmailer-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionpack-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionpack-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionpack-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionpack-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actiontext-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actiontext-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actiontext-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actiontext-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionview-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionview-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionview-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-actionview-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activejob-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activejob-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activejob-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activejob-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activemodel-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activemodel-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activemodel-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activemodel-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activerecord-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activerecord-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activerecord-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activerecord-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activestorage-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activestorage-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activestorage-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activestorage-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activesupport-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activesupport-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activesupport-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-activesupport-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rails-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-railties-8.0-0:8.0.3-1.3.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-railties-8.0-0:8.0.3-1.3.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-railties-8.0-0:8.0.3-1.3.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-railties-8.0-0:8.0.3-1.3.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 0.6–4.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (33)
Products and version ranges known to be affected.
advisories (16)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-3665Ruby on Rails: Mehrere Schwachstellen ermöglichen Cross-Site ScriptingDeutsch2024-12-10csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Ruby on Rails ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen.
- openSUSE-SU-2026:10335-1ruby4.0-rubygem-actioncable-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actioncable-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10336-1ruby4.0-rubygem-actionmailbox-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actionmailbox-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10337-1ruby4.0-rubygem-actionmailer-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actionmailer-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10338-1ruby4.0-rubygem-actionpack-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actionpack-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10339-1ruby4.0-rubygem-actiontext-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actiontext-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10340-1ruby4.0-rubygem-actionview-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-actionview-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10341-1ruby4.0-rubygem-activejob-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-activejob-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10342-1ruby4.0-rubygem-activemodel-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-activemodel-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10343-1ruby4.0-rubygem-activerecord-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-activerecord-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10344-1ruby4.0-rubygem-activestorage-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-activestorage-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10345-1ruby4.0-rubygem-activesupport-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-activesupport-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10360-1ruby4.0-rubygem-rails-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-rails-8.0-8.0.3-1.3 on GA media
- openSUSE-SU-2026:10362-1ruby4.0-rubygem-railties-8.0-8.0.3-1.3 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-railties-8.0-8.0.3-1.3 on GA media
- GHSA-vfm5-rmrh-j26vPossible Content Security Policy bypass in Action Dispatch2024-12-10ghsa · osvUS
There is a possible Cross Site Scripting (XSS) vulnerability in the `content_security_policy` helper in Action Pack. Impact ------ 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. Releases -------- The fixed releases are available at the normal locations. Workarounds ----------- Applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input. Credits ------- Thanks to [ryotak](https://hackerone.com/ryotak) for the report!
- BIT-rails-2024-54133Possible Content Security Policy bypass in Action Dispatch2025-04-14vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-54133cnnvd
- https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49cnnvd
- https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3acnnvd
- https://github.com/rails/rails/commit/5558e72f22fc69c1c407b31ac5fb3b4ce087b542cnnvd
- https://github.com/rails/rails/commit/cb16a3bb515b5d769f73926d9757270ace691f1dcnnvd
- https://github.com/rails/rails/releases/tag/v8.0.0.1Patchcnnvd
- https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26vcnnvd
- https://vigilance.fr/vulnerability/Action-Pack-Cross-Site-Scripting-via-content-security-policy-46614cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan