Skip to main content
VulnerabilityPublished

CVE-2026-33168: rails actionview · Cross-site Scripting

Affects rails actionviewSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low · fixed in 8.1.2.1 : update rails actionview when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.1.2.1, 8.0.4.1, 7.2.3.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade rails actionview to 8.1.2.1, 8.0.4.1 or 7.2.3.1.

Affected software

ProductAffectedFixed in
railsactionviewAffected
  • >=8.1.0.beta1 <8.1.2.1
Fixed in
  • 8.1.2.1
railsactionviewAffected
  • >=8.0.0.beta1 <8.0.4.1
Fixed in
  • 8.0.4.1
railsactionviewAffected
  • <7.2.3.1
Fixed in
  • 7.2.3.1

AI-suggested

Organizations should upgrade Rails to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later, where the vulnerability is patched. Developers should audit their codebases to identify any use of custom HTML attributes derived from user input and sanitize or validate these inputs rigorously. Avoid allowing users to specify arbitrary HTML attribute names or values. Implement Content Security Policy (CSP) headers to reduce the impact of potential XSS attacks by restricting script execution sources. Additionally, conduct thorough security testing on web applications that use Action View tag helpers to detect malformed HTML or injection points. Monitoring web application logs for unusual input patterns or errors related to HTML rendering can help detect attempted exploitation.

Description

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.

References

Community reviews

Loading reviews…