CVE-2026-33168: Rails has a possible XSS vulnerability in its Action View tag helpers
CVE-2026-33168 · Severity: medium · CVSS 4 · Published 2026-03-23
### Impact
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.
### Releases
The fixed releases are available at the normal locations.
### Credit
This issue was responsibly reported by Hackerone researcher [taise](https://hackerone.com/taise).
Yes. actionview (RubyGems): upgrade to 8.1.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-33168?
Check whether you run actionview (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
actionview (RubyGems): upgrade to 8.1.2.1 or later