Skip to main content

Rails Action View EUVDEUVD-2026-122878

| CVE-2026-126069 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-10 security-advisories@github.com GHSA-68p9-83h6-5wpj
4.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker supplies whitespace attribute name
  2. Delivery
    Rendered via vulnerable Action View tag helper
  3. Exploit
    Malformed HTML with nameless attribute emitted
  4. Execution
    Victim's browser reparses crafted value as attribute
  5. Impact
    XSS executes in victim session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application allows users to control HTML attribute NAMES passed to Action View tag helpers (tag, content_tag) or asset helpers (image_tag, video_tag, audio_tag), specifically a whitespace-only name such as the Symbol :" " or, for asset helpers that symbolize their keys, a whitespace String key. Limiting factors are significant: the affected version must be in use (actionview >=8.1 <8.1.4.1 or <8.0.5.2); the vendor CVSS requires user interaction (UI:R), i.e., a victim must view the rendered page; attack complexity is High (AC:H) because a carefully crafted attribute value is needed for the browser to misinterpret it as a separate attribute; and applications that never expose attribute-name control (the common case) are not affected. No special authentication to the vulnerable component is indicated (PR:N).

Impact

This is a moderate-severity, context-dependent stored/reflected XSS (CWE-79) in Rails Action View tag helpers, confirmed by the GitHub Security Advisory GHSA-68p9-83h6-5wpj and reflected in the vendor-supplied CVSS of 4.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N). The signals are internally consistent and point to a real-but-conditional issue rather than a widespread emergency: network vector (AV:N) and no required privileges (PR:N) raise reach, but high attack complexity (AC:H), required user interaction (UI:R), and the stated precondition that the application must allow users to supply custom HTML attribute names sharply narrow the exploitable population. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the modest CVSS. KEV status is not indicated in the input, so there is no confirmation of active exploitation; EPSS is not provided, so exploitation probability cannot be quantified here. A HackerOne report (report 3904103) is referenced in the fix's regression tests, so a public PoC reference exists; it is not verified as working exploit code, and PoC presence must not be conflated with active exploitation. Net: a legitimate patch-this-cycle item for apps that render user-controlled attribute names, but low urgency for the typical Rails deployment that does not expose attribute-name control.

Exploit ScenarioDerived

An application uses an Action View tag helper (e.g., image_tag, video_tag, audio_tag, or tag) and lets an attacker influence an HTML attribute name, for example a whitespace-only Symbol/String key like :" ". Because Symbol#blank? is Symbol#empty?, the whitespace name is not treated as blank and reaches attribute escaping, emitting an attribute with no name; a carefully crafted attribute value can then be reparsed by the browser as a separate attribute, potentially executing script when a victim views the page (UI:R). A public PoC reference exists (HackerOne 3904103); it is not verified as working exploit code, and the high complexity (AC:H) reflects the crafting and non-default precondition required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Malformed HTML generation in Rails Action View tag helpers lets an attacker who controls an HTML attribute name slip a whitespace-only name such as the Symbol :" " past the blank-name filter added for CVE-2026-33168, producing an attribute with no name that a browser may reinterpret as a separate attribute and turn into XSS (CWE-79, CVSS 4.7). Affected are the actionview gem at >= 8.1 before 8.1.4.1 and all versions before 8.0.5.2, reached through tag/content_tag and through asset helpers like image_tag, video_tag and audio_tag, which internally symbolize their option keys; applications that never let users supply attribute names are not exposed. Exploitation is unauthenticated per the CVSS vector (PR:N) but requires user interaction (UI:R) and is rated High complexity (AC:H); no public exploit code was identified at time of analysis, and the vendor has released fixed versions plus backport patches.

RemediationAI

Upgrade the actionview gem to 8.1.4.1 or 8.0.5.2 respectively (Rails releases https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2); per the vendor advisory, teams that cannot upgrade immediately can apply the branch-specific patches, https://github.com/rails/rails/commit/9190210606ffe52f92fdc75637f8ff69404f22c8.patch for 8.1 and https://github.com/rails/rails/commit/f47452533e1f28d847c63181b9d5f8b7243ef9a4.patch for 8.0, which normalize each attribute key to a string (Symbol#name or to_s) and skip it when blank, including nested data:/aria: keys. Because the vendor's prerequisite is that applications let users control HTML attribute names, the practical compensating control for code that cannot be patched is to stop accepting attribute names from user input - pass only developer-defined, constant attribute names and allowlist any dynamic names against a fixed set of safe identifiers - rather than trying to strip whitespace from incoming values, which the upstream fix shows is easy to get wrong across Symbol and String coercion; note that such a change is only complete if every call site into tag, content_tag and the asset helpers is covered, and that the vendor presents upgrading as the full fix. Advisory reference: https://github.com/rails/rails/security/advisories/GHSA-68p9-83h6-5wpj.

Affected VersionsENISA

rails 8.1, < 8.1.4.1
rails < 8.0.5.2

Affected Packages

rubygems actionview fix: 8.0.5.2, 8.1.4.1
euvd rails fix: 8.0.5.2, 8.1.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Action View is the Rails view-rendering layer; its tag helpers (tag, content_tag) and asset helpers (image_tag, video_tag, audio_tag) build HTML by iterating an options hash and passing each key/value pair through attribute escaping. The root cause is a type-coercion ordering bug in the fix lineage for CVE-2026-33168: the previous patch tested whether an attribute name was blank before converting it to a string, but Ruby's Symbol#blank? is aliased to Symbol#empty?, so a whitespace-only Symbol such as :" " is not considered blank and survives the check, reaching attribute escaping and emitting a nameless attribute. The asset tag helpers call symbolize_keys on their options, so a plain whitespace String key takes the same path as the Symbol. The resulting markup is malformed, and a crafted attribute value can be parsed by the browser as an additional attribute name, which is the XSS vector class (CWE-79). Upstream commit 9190210606ffe52f92fdc75637f8ff69404f22c8 normalizes the key with Symbol === key ? key.name : key.to_s and skips the attribute if that string is blank, applying the same treatment to nested data:/aria: keys, and adds regression tests covering whitespace Symbols, whitespace Strings through image_tag, and objects whose to_s output changes between calls. The trigger requires an application that passes user-influenced attribute names into these helpers; the precise browser-side reinterpretation behavior is described by the advisory only in general terms.

Know when Ruby On Rails gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

AV:N and PR:N since any user able to influence an attribute name can trigger it; AC:H for the non-default precondition and crafted value; UI:R as a victim must render the page; S:C and C:L/I:L for browser-context XSS.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 21:50 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
MEDIUM 4.7

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
Rails/Action View is widely deployed enterprise web framework, though vulnerable code path is uncommon
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2013-0333 HIGH POC
7.5 Jan 30

lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly

CVE-2013-0156 HIGH POC
7.5 Jan 13

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, an

CVE-2016-2098 HIGH POC
7.3 Apr 07

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to e

CVE-2013-6414 MEDIUM POC
5.0 Dec 07

actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allo

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2026-109391 CRITICAL POC
9.2 Oct 12

Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two

CVE-2017-17919 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute

CVE-2017-17920 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut

CVE-2012-6496 HIGH POC
7.5 Jan 04

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x

CVE-2012-2695 HIGH POC
7.5 Jun 22

The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly

CVE-2013-0277 CRITICAL
10.0 Feb 13

ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or

CVE-2026-94462 HIGH POC
7.1 Sep 22

Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy