vulnerability
Ruby on Rails: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CVE-2024-26143)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
6 | (AV:N/AC:M/Au:N/C:P/I:P/A:N) | 2024-02-27 | 2025-02-17 | 2025-02-20 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
2024-02-27
Added
2025-02-17
Modified
2025-02-20
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.
Solution(s)
ruby-on-rails-upgrade-7_0_8_1ruby-on-rails-upgrade-7_1_3_1
References
- CVE-2024-26143
- https://attackerkb.com/topics/CVE-2024-26143
- URL-https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
- URL-https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
- URL-https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
- URL-https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4
- URL-https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml
- URL-https://security.netapp.com/advisory/ntap-20240510-0004/

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.