CVE-2024-26143
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.
CWE
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected
- rails / rails — v=>= 7.0.0, < 7.0.8.1 [affected]; v=>= 7.1.0, < 7.1.3.1 [affected]
CVSS
- 3.1 score=6.1 severity=MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 x_refsource_CONFIRM
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc x_refsource_MISC
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e x_refsource_MISC
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20240510-0004/
Source
cvelistV5-main/cves/2024/26xxx/CVE-2024-26143.json