MEDIUM · CVSS 3.0 4.7 EPSS 0.3% · 15th percentile CWE-79

CVE-2026-126069: Action View: Possible XSS vulnerability in tag helpers

Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-68p9-83h6-5wpj

Summary

A Cross-Site Scripting (XSS) vulnerability in Action View tag helpers allows malformed HTML attributes when whitespace symbols are passed. Engineering teams using vulnerable versions of Action View should upgrade immediately.

Who is affected

Applications that allow users to specify custom HTML attribute names or pass whitespace string names to asset tag helpers (such as image_tag, video_tag, and audio_tag) are affected. A carefully crafted attribute value can be misinterpreted by the browser as a separate attribute name, potentially leading to XSS.

Exploitability

The vulnerability has a CVSS base score of 4.7 (MEDIUM) with a vector of CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating network accessibility, high complexity, and required user interaction. The EPSS score is 0.002, and it is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
RubyGems actionview >= 8.1.0.beta1, < 8.1.4.1 8.1.4.1 bundle update actionview
RubyGems actionview >= 0, < 8.0.5.2 8.0.5.2 bundle update actionview

CVSS 3.0 vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
ScopeChanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

FAQ

What causes the vulnerability?

Symbol names made only of whitespace pass blank checks because Symbol#blank? is equivalent to Symbol#empty?, causing them to reach attribute escaping and produce malformed HTML.

Which packages are affected?

The RubyGems actionview package is affected in versions introduced at 8.1.0.beta1 (fixed in 8.1.4.1) and introduced at 0 (fixed in 8.0.5.2).

Is there active exploitation documented for this CVE?

No, CISA Known Exploited Vulnerabilities status is no.

Original advisory description
### Impact The fix for [CVE-2026-33168](https://github.com/rails/rails/security/advisories/GHSA-v55j-83pf-r9cq) skips blank HTML attribute names in Action View tag helpers, but it tests the name before converting it to a string. A Symbol name made only of whitespace, such as `:" "`, is not blank, because `Symbol#blank?` is `Symbol#empty?`, so it reaches the attribute escaping, which emits an attribute with no name and produces malformed HTML. The asset tag helpers, such as `image_tag`, `video_tag` and `audio_tag`, symbolize their options, so a whitespace String name passed to them takes the same path. 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 attribute names are affected. ### Releases The fixed releases are available at the normal locations. Patches for those who cannot upgrade at once: - 8.1: https://github.com/rails/rails/commit/9190210606ffe52f92fdc75637f8ff69404f22c8.patch - 8.0: https://github.com/rails/rails/commit/f47452533e1f28d847c63181b9d5f8b7243ef9a4.patch ### Credit This issue was responsibly reported by HackerOne researcher [thepo1es](https://hackerone.com/thepo1es).

References

Source records: GHSA-68p9-83h6-5wpj (OSV.dev) · EPSS by FIRST, 2026-11-26.