CVE-2024-26143

MEDIUM EPSS 59.5%
Published Feb 27, 20242y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Medium
Find Similar
Published Feb 27, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
6.1
Exploitability
2.8
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
59.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 2

VendorProductVersionRange
rubyonrailsrails*≥7.0.0  –  <7.0.8.1
rubyonrailsrails*≥7.1.0  –  <7.1.3.1

References 6

  • discuss.rubyonrails.org https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
    ExploitVendor Advisory
  • github.com https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
    Patch
  • github.com https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
    Patch
  • github.com https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4
    ExploitVendor Advisory
  • github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml
    ExploitThird Party Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20240510-0004/
    Third Party Advisory

Remediation

  • github.com https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
    Patch
  • github.com https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
    Patch