Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | >= 7.0.0, < 7.0.8.1 |
Related Weaknesses (CWE)
References
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controlleExploitVendor 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-xqf4ExploitVendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20240510-0004/Third Party Advisory
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controlleExploitVendor 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-xqf4ExploitVendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20240510-0004/Third Party Advisory
FAQ
What is CVE-2024-26143?
CVE-2024-26143 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 co...
How severe is CVE-2024-26143?
CVE-2024-26143 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-26143?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails.