Vulnerability advisory
CVE-2024-26143
Rails Possible XSS Vulnerability in Action Controller
Also known as BIT-rails-2024-26143GHSA-9822-6m93-xqf4
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/rails/rails ↗ | |
| 984c3ef2775781d47efa9f541ce570daa2434a80 to before 506462ab13755d9f024e1ddbfc8c58d73e7a1bce | 506462ab13755d9f024e1ddbfc8c58d73e7a1bce |
| d39db5d1891f7509cde2efc425c9d69bbb77e670 to before d73ed958dc91d6b8cbb0bef7b4cdcfc013bd876f | d73ed958dc91d6b8cbb0bef7b4cdcfc013bd876f |
| Not specified | 4c83b331092a79d58e4adffe4be5f250fa5782cc |
| Not specified | 5187a9ef51980ad1b8e81945ebe0462d28f84f9e |
Also listed as affected (13)
| |
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.
References
- Webdiscuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26143.json ↗
- Advisorygithub.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 ↗
- Advisorygithub.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-26143 ↗
- Advisorysecurity.netapp.com/advisory/ntap-20240510-0004/ ↗
- Fixgithub.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc ↗
- Fixgithub.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e ↗