What’s Vulnerable › Vulnerabilities

CVE-2024-26143: Rails Possible XSS Vulnerability in Action Controller

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 products

How to fix

Upgrade to a fixed version: Ruby on Rails 7.0.8.1, 7.1.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26143 or the next vulnerability affects your stack