Rails 7 ActionText unsanitized HTML via rich_text_area (fixed 7.1.3.4/7.2.beta2)
CVE-2024-32464 Published on June 4, 2024
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.
Vulnerability Analysis
CVE-2024-32464 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Types
What is a Basic XSS Vulnerability?
The software 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. This may allow such characters to be treated as control characters, which are executed client-side in the context of the user's session. Although this can be classified as an injection problem, the more pertinent issue is the improper conversion of such special characters to respective context-appropriate entities before displaying them to the user.
CVE-2024-32464 has been classified to as a Basic XSS vulnerability or weakness.
What is a XSS Vulnerability?
The software 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.
CVE-2024-32464 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2024-32464
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-32464 are published in Ruby on Rails Rails:
Affected Versions
rails:- Version >= 7.1.0, < 7.1.3.4 is affected.
- Version = 7.2.0.beta1 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2024-32464
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| rubygems | actiontext | >= 7.1.0, < 7.1.3.4 | 7.1.3.4 |
| rubygems | actiontext | = 7.2.0.beta1 | 7.2.0.beta2 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.