CVE-2024-26143
There is a possible XSS vulnerability when using the translation helpers in Action Controller.
Does this matter?
Lower severity and a low EPSS score (1.03%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.03% probability · 62th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- rubyonrails/rails
- Source
- security-advisories@github.com
References
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947Exploit, Vendor Advisory
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782ccPatch
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9ePatch
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4Exploit, Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.ymlExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240510-0004/Third Party Advisory
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947Exploit, Vendor Advisory
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782ccPatch
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9ePatch
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4Exploit, Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.ymlExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240510-0004/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.