CVE-2026-33168rails actionview
Low 2.3 No auth needed
Follow: this CVE · rails · rails actionview We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 23, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for actionview.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actionview |
≥ 8.1.0.beta1 < 8.1.2.1 |
8.1.2.1 |
gem "actionview", ">= 8.1.2.1" |
| RubyGems | actionview |
≥ 8.0.0.beta1 < 8.0.4.1 |
8.0.4.1 |
gem "actionview", ">= 8.0.4.1" |
| RubyGems | actionview |
< 7.2.3.1 |
7.2.3.1 |
gem "actionview", ">= 7.2.3.1" |
Per OSV / GitHub Advisories (GHSA-v55j-83pf-r9cq). Check the version in your lockfile before upgrading.
Affected products
- rails · actionview
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.