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).

Technologies: actionview (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2026-33168 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-33168 being exploited in the wild.
How severe is CVE-2026-33168?
Medium severity, with a CVSS score of 4, published 23 March 2026.
Which products and versions are affected?
actionview (RubyGems) ECOSYSTEM:introduced=8.1.0.beta1,fixed=8.1.2.1.
Is there a fix for CVE-2026-33168?
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
    bundle update actionview

Affected products

  • actionview (RubyGems) ECOSYSTEM:introduced=8.1.0.beta1,fixed=8.1.2.1

Identifiers

  • CVE-2026-33168
  • GHSA-v55j-83pf-r9cq

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.