CVE-2024-32464: rails Cross-site Scripting
CVSS: 6.1v3.1MediumModified
AliasesUBUNTU-CVE-2024-32464GHSA-prjp-h48f-jgf6BIT-rails-2024-32464
Published 04-06-2024Last modified 02-08-2024
Vulnerability summary
CVE-2024-32464 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in rails. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 36.5% of scored vulnerabilities.
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)EPSS score
0.43%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 04-06-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
Action Text brings rich text content and editing to Rails. Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML. This vulnerability is fixed in 7.1.3.4 and 7.2.0.beta2.
CVSS metrics
5 scores · 4 sources · 2 versionsMedium 5.1Preferred score · OSV · Rubygems (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NSourcesSingle source
Medium 6.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
0.00 pp
From 0.43% on 21-09-2026
21-09-202621-10-2026
EPSS score0.43%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Affected systems
Rails1 product
- rails≥ 7.1.0, < 7.1.3.4 | = 7.2.0.beta1
RubyGems1 product
- actiontext≥ 7.1.0, < 7.1.3.4 | ≥ 7.2.0.beta1, < 7.2.0.beta2
Rubyonrails1 product
- railsEOL≥ 7.1.0, < 7.1.3.4 | 7.2.0:beta1
Ubuntu1 product
- railsAll versions (No fix recorded)
4 vendors · 4 products
References
7 links- github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6X Refsource CONFIRMREPORTWEBThird Party Advisory
- github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995X Refsource MISCREPORTWEBPatch
- github.com/rails/railsPACKAGE