Rails: Prior to 8.1.4.1 and 8.0.5.2, the fix for CVE-2026-33168 skips blank HTML attribute names in Action View tag
Affects railsSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.7 Medium · fixed in 8.1.4.1 : update rails when convenient.
Data as of 13 Nov 2026, 22:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.7 |
|---|
- Patch
- Available – fixed in 8.1.4.1
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 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10railspkg:deb/ubuntu/rails?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Ruby on Rails to version 8.1.4.1 or 8.0.5.2 or later, where this issue is fixed. No other mitigations are specified. Applications should avoid allowing users to specify arbitrary custom HTML attribute names until patched.
Description
A vulnerability in Ruby on Rails prior to versions 8.1.4.1 and 8.0.5.2 affects the Action View framework's handling of blank HTML attribute names in tag helpers. The fix for CVE-2026-33168 incorrectly skips blank attribute names by testing them before conversion to string, allowing Symbol names composed only of whitespace to bypass this check. This results in malformed HTML where an attribute with no name is emitted. Asset tag helpers such as image_tag, video_tag, and audio_tag are also affected due to symbolization of options. This flaw could allow a crafted attribute value to be misinterpreted by browsers as a separate attribute name, potentially leading to cross-site scripting (XSS) in applications that permit user-supplied custom HTML attribute names. The issue is fixed in Rails versions 8.1.4.1 and 8.0.5.2.
References
- ubuntu.com/security/CVE-2026-126069 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126069 (opens in a new tab)
- 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)