CVE-2026-33168: Rails Actionview

Low severity, CVSS 2.3. EPSS: 1.0% probability of exploitation activity in the next 30 days.

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

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Rails Actionview, from 8.1.0.beta1, before 8.1.2.1: fixed in 8.1.2.1
  • Rails Actionview, from 8.0.0.beta1, before 8.0.4.1: fixed in 8.0.4.1
  • Rails Actionview, before 7.2.3.1: fixed in 7.2.3.1

Affected products

  • Rails Actionview: from 8.1.0.beta1, before 8.1.2.1 (fixed in 8.1.2.1); from 8.0.0.beta1, before 8.0.4.1 (fixed in 8.0.4.1); before 7.2.3.1 (fixed in 7.2.3.1)

Affected packages

Published 2026-03-23. Last modified 2026-06-17.