CVE-2024-26143

Rails Possible XSS Vulnerability in Action Controller

MEDIUM
6.1
CVSS Score
Published: February 27, 2024 at 03:33 PM UTC
Updated: June 17, 2026 at 07:17 AM UTC
2 products affected across 2 vendorsRailsRails

Using rails by rails?

Get instant alerts when new vulnerabilities affect rails - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 1%
SSVC
No known exploit

Description

Rails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. Applications using translation methods like translate, or t on a controller, with a key ending in "_html", a :default key which contains untrusted user input, and the resulting string is used in a view, may be susceptible to an XSS vulnerability. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.0.0 ≤ v < 7.0.8.17.1.0 ≤ v < 7.1.3.1
Affected range stops below 7.0.8.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.3.1, so it looks safe — our inference, not a vendor statement
v < 7.0.8.1v < 7.1.3.1
Affected range stops below 7.0.8.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.3.1, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card