CVE-2024-26143: Rails · There is a possible XSS vulnerability when using the translation helpers in Action Controller
Affects railsSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 7.1.3.1 : update rails when convenient.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.1.3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10railspkg:deb/ubuntu/rails?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10railspkg:deb/ubuntu/rails?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- ubuntu.com/security/CVE-2024-26143 (opens in a new tab)
- github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 (opens in a new tab)
- github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc (opens in a new tab)
- github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e (opens in a new tab)
- discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26143 (opens in a new tab)