discuss.rubyonrails.org
https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 CVE-2024-26143
MEDIUM
Rails Possible XSS Vulnerability in Action Controller
Record summary
CVE-2024-26143 has a selected CVSS score of 6.1 (medium).
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.
Description source: CVE List
Exploitation context
CISA SSVC decision
ExploitationNone
AutomatableNo
Technical impactPartial
CISA Coordinator · SSVC 2.0.3 · Evaluated Feb 29, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
railsBrowse rails / rails | CVE List | >= 7.0.0, < 7.0.8.1 | affected |
| >= 7.1.0, < 7.1.3.1 | affected | ||
actionpackBrowse RubyGems / actionpack | GitHub Advisory | 7.0.0 to < 7.0.8.1 · Fixed in 7.0.8.1 | affected |
| 7.1.0 to < 7.1.3.1 · Fixed in 7.1.3.1 | affected | ||
| GitHub Advisory | 7.0.0 to < 7.0.8.1 · Fixed in 7.0.8.1 | affected | |
| 7.1.0 to < 7.1.3.1 · Fixed in 7.1.3.1 | affected |
References
8github.com
https://github.com/rails/rails github.com
https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc github.com
https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e github.comConfirmation
https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 github.com
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2024-26143 security.netapp.com
https://security.netapp.com/advisory/ntap-20240510-0004