Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker supplies whitespace attribute name
-
DeliveryRendered via vulnerable Action View tag helper
-
ExploitMalformed HTML with nameless attribute emitted
-
ExecutionVictim's browser reparses crafted value as attribute
-
ImpactXSS 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Ruby On Rails
View alllib/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
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
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
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
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two
SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute
SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut
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
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
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
Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car
EUVD-2026-122878
GHSA-68p9-83h6-5wpj
NVD
CVE.org
EPSS
Exploit-DB