CVE-2024-26143

Rails Possible XSS Vulnerability in Action Controller

Published Feb 27, 2024 CVSS 3.1 · 6.1 Medium EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0589 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.
Github GHSA Github GHSA GHSA-9822-6m93-xqf4 Rails has possible XSS Vulnerability in Action Controller
History
Type Values Removed Values Added
First Time appeared Rubyonrails
Rubyonrails rails
CPEs cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
Vendors & Products Rubyonrails
Rubyonrails rails
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:41 PM
Reserved
Feb 14, 2024, 5:40 PM
Status
Analyzed
Published
Feb 27, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:17 AM
Severity
Low
Public date
Feb 24, 2024, 12:00 AM