Read the docs
TI-2024-36249 Aliases CVE-2024-54133GHSA-vfm5-rmrh-j26v

Possible Content Security Policy bypass in Action Dispatch

Priority LOW 14CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01002 63rd percentileScored 2026-11-07
Fix Partial rails (rails): 7.0.8.7, 7.1.5.1, 7.2.2.1 +1actionpack (RubyGems): 7.0.8.7, 7.1.5.1, 7.2.2.1 +1Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Railsrails5.2.0 to before 7.0.8.7; 7.1.0 to before 7.1.5.1; 7.2.0 to before 7.2.2.1; 8.0.0 to before 8.0.0.17.0.8.7, 7.1.5.1, 7.2.2.1, 8.0.0.1Patch availableCNA
—actionpack (RubyGems)5.2.0 to before 7.0.8.77.0.8.7Patch availableGHSA-vfm5-rmrh-j26v
—actionpack (RubyGems)7.1.0 to before 7.1.5.17.1.5.1Patch availableGHSA-vfm5-rmrh-j26v
—actionpack (RubyGems)7.2.0 to before 7.2.2.17.2.2.1Patch availableGHSA-vfm5-rmrh-j26v
—actionpack (RubyGems)8.0.0 to before 8.0.0.18.0.0.1Patch availableGHSA-vfm5-rmrh-j26v
  • rails VendorRails Affected 5.2.0 to before 7.0.8.7; 7.1.0 to before 7.1.5.1; 7.2.0 to before 7.2.2.1; 8.0.0 to before 8.0.0.1 Fixed in 7.0.8.7, 7.1.5.1, 7.2.2.1, 8.0.0.1 Patch available CNA
  • actionpack (RubyGems) Vendor— Affected 5.2.0 to before 7.0.8.7 Fixed in 7.0.8.7 Patch available GHSA-vfm5-rmrh-j26v
  • actionpack (RubyGems) Vendor— Affected 7.1.0 to before 7.1.5.1 Fixed in 7.1.5.1 Patch available GHSA-vfm5-rmrh-j26v
  • actionpack (RubyGems) Vendor— Affected 7.2.0 to before 7.2.2.1 Fixed in 7.2.2.1 Patch available GHSA-vfm5-rmrh-j26v
  • actionpack (RubyGems) Vendor— Affected 8.0.0 to before 8.0.0.1 Fixed in 8.0.0.1 Patch available GHSA-vfm5-rmrh-j26v

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*——Rails
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions — — ·Rails

Remediation

  • Fix · CNA rails (rails) Fixed in 7.0.8.7, 7.1.5.1, 7.2.2.1, 8.0.0.1
  • Fix · GHSA-vfm5-rmrh-j26v actionpack (RubyGems) Fixed in 7.0.8.7 Advisory →
  • Fix · GHSA-vfm5-rmrh-j26v actionpack (RubyGems) Fixed in 7.1.5.1 Advisory →
  • Fix · GHSA-vfm5-rmrh-j26v actionpack (RubyGems) Fixed in 7.2.2.1 Advisory →
  • Fix · GHSA-vfm5-rmrh-j26v actionpack (RubyGems) Fixed in 8.0.0.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-54133
  2. 2026-10-03 Alias added: GHSA-vfm5-rmrh-j26v

References

  • TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
  • TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
  • TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
  • TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
See all 163 →

Sources