Medium severity6.1NVD Advisory· Published Feb 27, 2024· Updated Jun 17, 2026
CVE-2024-26143
CVE-2024-26143
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
actionpackRubyGems | >= 7.0.0, < 7.0.8.1 | 7.0.8.1 |
actionpackRubyGems | >= 7.1.0, < 7.1.3.1 | 7.1.3.1 |
railsRubyGems | >= 7.0.0, < 7.0.8.1 | 7.0.8.1 |
railsRubyGems | >= 7.1.0, < 7.1.3.1 | 7.1.3.1 |
Affected products
6- osv-coords5 versionspkg:bitnami/railspkg:gem/actionpackpkg:gem/railspkg:rpm/opensuse/rubygem-actionpack-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rails-7.0&distro=openSUSE%20Tumbleweed
>= 7.0.0, < 7.0.9+ 4 more
- (no CPE)range: >= 7.0.0, < 7.0.9
- (no CPE)range: >= 7.0.0, < 7.0.8.1
- (no CPE)range: >= 7.0.0, < 7.0.8.1
- (no CPE)range: < 7.0.8.4-1.1
- (no CPE)range: < 7.0.8.4-1.1
- Range: >= 7.0.0, < 7.0.8.1
Patches
Vulnerability mechanics
References
9- github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782ccnvdPatchWEB
- github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9envdPatchWEB
- discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947nvdExploitVendor AdvisoryWEB
- github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4nvdExploitVendor AdvisoryWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.ymlnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-9822-6m93-xqf4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-26143ghsaADVISORY
- security.netapp.com/advisory/ntap-20240510-0004/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20240510-0004ghsaWEB
News mentions
0No linked articles in our index yet.