CVE-2024-26143 | Rails Possible XSS Vulnerability in Action Controller

Exp

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.

Published: 2024-02-27 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-26143 is rated Exploit Available (59.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.03%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-26143

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-26143

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.07% 1.03% -1.03%
2 2026-03-17 1.54% 2.07% +0.53%
3 2026-03-04 1.54%

Full EPSS history (43 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-26143

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2024-26143

GitHub Security Advisory for CVE-2024-26143

GHSA-9822-6m93-xqf4 · Severity: medium · Ecosystem: rubygems — Rails has possible XSS Vulnerability in Action Controller

OS Trackers for CVE-2024-26143

vendor priority summary link
debian unimportant CVE-2024-26143 unimportant priority: Debian including 1 source packages (rails), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-26143
redhat low https://access.redhat.com/security/cve/CVE-2024-26143
suse medium CVE-2024-26143 severity moderate: SUSE including 12 source package names (ruby2.1-rubygem-actionpack-4_2, ruby2.1-rubygem-rails-4_2, …), 28 product×package rows across 7 product lines (SUSE Linux Enterprise High Availability Extension 15 SP2, SUSE Linux Enterprise High Availability Extension 15 SP3, … (7 product lines)): Known Not Affected 24, Fixed 4. https://www.suse.com/security/cve/CVE-2024-26143/
ubuntu medium CVE-2024-26143 medium priority: Ubuntu including 7 source packages (rails, rails-4.0, …), 77 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 54, needs-triage 12, ignored 10, not-affected 1. https://ubuntu.com/security/CVE-2024-26143

Affected software / configurations for CVE-2024-26143

Vendor Product Version Raw CPE
rubyonrails rails >= 7.0.0, < 7.0.8.1 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
rubyonrails rails >= 7.1.0, < 7.1.3.1 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*

References for CVE-2024-26143

cvelogic Threat Intelligence