Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-126069 EUVD-2026-122878GHSA-68p9-83h6-5wpj

Action View: Possible XSS vulnerability in Action View tag helpers

Published Nov 10, 2026 · Updated Nov 14, 2026 · Assigned by GitHub_M

Description

Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, the fix for CVE-2026-33168 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. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

Affected products

VendorProductAffectedFixed
rails rails >= 8.1, < 8.1.4.1, < 8.0.5.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails No fix yet —
Debian 13 rails No fix yet —
Debian 12 rails No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionview >= 8.1.0.beta1, < 8.1.4.1 8.1.4.1 GHSA-68p9-83h6-5wpj
RubyGems actionview < 8.0.5.2 8.0.5.2 GHSA-68p9-83h6-5wpj

Advisories 1

References