2.3

CVE-2024-54133: rails Cross-site Scripting

CVSS: 2.3v4.0LowDeferred
AliasesUBUNTU-CVE-2024-54133DEBIAN-CVE-2024-54133openSUSE-SU-2025:14668-1
Published 10-12-2024Last modified 07-03-2025

Vulnerability summary

CVE-2024-54133 is a low (CVSS 2.3) Cross-site Scripting vulnerability in rails. EPSS estimates a 1.00% chance of exploitation in the next 30 days, higher than 62.3% of scored vulnerabilities.

Overall risk
9/100
0100
Minimal · default modelHow is this calculated?
CVSS score
2.3/10
010
Low · v4.0 (CVE.org)
EPSS score
1.00%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 10-12-2024
    PublishedVulnerability first disclosed.
  2. 07-03-2025
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.00%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

0.00 pp

From 1.00% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.00%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Opensuse13 products
  • rubygem-actioncable-8.0&distro=openSUSE Tumbleweed< 8.0.1-1.1 | < 8.0.3-1.3
  • rubygem-actionmailbox-8.0&distro=openSUSE Tumbleweed< 8.0.1-1.1 | < 8.0.3-1.3
  • rubygem-actionmailer-8.0&distro=openSUSE Tumbleweed< 8.0.1-1.1 | < 8.0.3-1.3
  • rubygem-actionpack-8.0&distro=openSUSE Tumbleweed< 8.0.1-1.1 | < 8.0.3-1.3
  • rubygem-actiontext-8.0&distro=openSUSE Tumbleweed< 8.0.1-1.1 | < 8.0.3-1.3
Debian1 product
  • rails< 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1
Rails1 product
  • rails≥ 5.2.0, < 7.0.8.7 | ≥ 7.1.0, < 7.1.5.1 | ≥ 7.2.0, < 7.2.2.1 | ≥ 8.0.0, < 8.0.0.1
RubyGems1 product
  • actionpack≥ 5.2.0, < 7.0.8.7 | ≥ 7.1.0, < 7.1.5.1 | ≥ 7.2.0, < 7.2.2.1 | ≥ 8.0.0, < 8.0.0.1
Ubuntu1 product
  • railsAll versions (No fix recorded)

5 vendors · 17 products

References

23 links
Show all 23 references