CVE-2026-126069: rails · Cross-site Scripting
Affects railsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.7 Medium : upgrade to 8.1.4.1 or 8.0.5.2 when convenient.
Data as of 10 Nov 2026, 20:53 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.7 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
Upgrade Rails to version 8.1.4.1 or later, or 8.0.5.2 or later, where this vulnerability is fixed. No other mitigations are specified or required if the application is updated.
Description
A cross-site scripting (XSS) vulnerability exists in the Rails Action View framework prior to versions 8.1.4.1 and 8.0.5.2. The issue arises from improper handling of blank HTML attribute names in tag helpers, allowing malformed HTML that can lead to XSS if user input controls attribute names. This vulnerability affects applications that permit users to specify custom HTML attribute names.
References
- github.com/rails/rails/security/advisories/GHSA-68p9-83h6-5wpj (opens in a new tab)
- github.com/rails/rails/commit/9190210606ffe52f92fdc75637f8ff69404f22c8 (opens in a new tab)
- github.com/rails/rails/commit/f47452533e1f28d847c63181b9d5f8b7243ef9a4 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)