Medium severity · published Feb 27, 2024
CVE-2024-26143
Rails is a web-application framework
6.1
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Rails · Rubyonrails
7.0.0 before 7.0.8.1; 7.1.0 before 7.1.3.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-26143
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-26143
Exploit
https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
Patch
https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
Patch
https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
Exploit
https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4
Exploit
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml
Third Party Advisory
https://security.netapp.com/advisory/ntap-20240510-0004/
More from Rails
7.5
CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
7.5
CVE-2016-0752
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows…
7.5
CVE-2014-0130
Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x…
9.8
CVE-2026-33195
Rails Active Storage has possible Path Traversal in DiskService
9.8
CVE-2024-28103
Action Pack is a framework for handling and responding to web requests
