Possible XSS Vulnerability in Rails' Translation Helpers
CVE-2024-26143
6.1MEDIUM
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