Possible XSS Vulnerability in Rails' Translation Helpers
CVE-2024-26143

6.1MEDIUM

Key Information:

Vendor

Rails

Status
Vendor
CVE Published:
27 February 2024

What is CVE-2024-26143?

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 Version(s)

rails >= 7.0.0, < 7.0.8.1 < 7.0.0, 7.0.8.1

rails >= 7.1.0, < 7.1.3.1 < 7.1.0, 7.1.3.1

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.