CVE-2026-33168 json
Rails has a possible XSS vulnerability in its Action View tag helpers
published 2026-03-23 7 mo ago modified 2026-09-10 59 d ago also EUVD-2026-14616 , GHSA-v55j-83pf-r9cq
- cvss
- 2.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
Action View provides conventions and helpers for building web pages with the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when a blank string is used as an HTML attribute name in Action View tag helpers, the attribute escaping is bypassed, producing malformed HTML. A carefully crafted attribute value could then be misinterpreted by the browser as a separate attribute name, possibly leading to XSS. Applications that allow users to specify custom HTML attributes are affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Patch / fix
- rubygems actionview 7.2.3.1, 8.0.4.1, 8.1.2.1
- action_view_project action_view 7.2.3.1, 8.0.4.1, 8.1.2.1
- rubyonrails actionview 7.2.3.1, 8.0.4.1, 8.1.2.1
- rails Debian 12 2:6.1.7.10+dfsg-1~deb12u3
- rails Debian 13 2:7.2.2.2+dfsg-2~deb13u2
- rails Debian 14 2:7.2.3.1+dfsg-1
debian advisories DEBIAN-CVE-2026-33168
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-33168 updated cvss 5.4
actionview: Action View: Cross-Site Scripting (XSS) via blank HTML attribute names
-
Red Hat 3scale API Management Platform 2 3scale-amp21/zync, 3scale-amp22/zync, 3scale-amp24/zync, 3scale-amp25/zync, 3scale-amp26/zync, 3scale-amp20/system, +11 moreaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionview | >=8.1.0.beta1, <8.1.2.1 >=8.0.0.beta1, <8.0.4.1 <7.2.3.1 |
8.1.2.1 8.0.4.1 7.2.3.1 |
Affected products
- rails actionview
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/0b6f8002b52b9c606fd6be9e7915d9f944cf539c
web
-
github.com
/rails/rails/commit/63f5ad83edaa0b976f82d46988d745426aa4a42d
web
-
github.com
/rails/rails/commit/c79a07df1e88738df8f68cb0ee759ad6128ca924
web
-
github.com
/rails/rails/security/advisories/GHSA-v55j-83pf-r9cq
web, advisory
-
github.com
/rails/rails/releases/tag/v7.2.3.1
web
-
github.com
/rails/rails/releases/tag/v8.0.4.1
web
-
github.com
/rails/rails/releases/tag/v8.1.2.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-33168
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2026-33168.yml
web
Sources
- CVE List CVE-2026-33168
- GitHub Advisory GHSA-v55j-83pf-r9cq
- NVD CVE-2026-33168
- Maintainer advisory GHSA-v55j-83pf-r9cq
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.