CVE-2024-26143Rails Possible XSS Vulnerability in Action Controller
- 6.1MediumCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 36% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 13 days later
· 13 days later
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-9822-6m93-xqf4 (opens in a new tab)
- RubyGemsrailsGHSA-9822-6m93-xqf4 (opens in a new tab)
References
References6
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e (opens in a new tab)x_refsource_MISCx_transferred
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20240510-0004/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0589 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9822-6m93-xqf4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-26143)Record last updated .