Vulnerabilities in pkg:gem/actionview
PACKAGECVE-2026-33168 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Actionview libraries in the RubyGems ecosystem. The issue involves rails has a possible xss vulnerability in its action view tag helpers. Remediation is available by upgrading affected packages to version 8.1.2.1, 8.0.4.1, 7.2.3.1.
pkg:gem/actionview
Vulnerability advisories affecting package pkg:gem/actionview. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v55j-83pf-r9cq | CVE-2026-33168 | LOW | Rails has a possible XSS vulnerability in its Action View tag helpers |
| GHSA-86g5-2wh3-gc9j | CVE-2019-5418 | HIGH | Path Traversal in Action View |
| GHSA-xrr4-p6fq-hjg7 | CVE-2016-0752 | HIGH | Directory traversal vulnerability in Action View in Ruby on Rails |
| GHSA-xp5h-f8jf-rc8q | CVE-2023-23913 | MODERATE | rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements |
| GHSA-m63j-wh5w-c252 | CVE-2019-5419 | HIGH | Denial of Service Vulnerability in Action View |
| GHSA-xq5j-gw7f-jgj8 | CVE-2020-8167 | MODERATE | CSRF Vulnerability in rails-ujs |
| GHSA-vx9j-46rh-fqr8 | CVE-2016-2097 | MODERATE | actionview contains Path Traversal vulnerability |
| GHSA-cr3x-7m39-c6jq | CVE-2020-8163 | HIGH | Remote code execution via user-provided local names in ActionView |
| GHSA-ch3h-j2vf-95pv | CVE-2022-27777 | MODERATE | XSS Vulnerability in Action View tag helpers |
| GHSA-75w6-p6mg-vh8j | CVE-2011-0446 | MODERATE | Rails actionpack gem vulnerable to Cross-site Scripting |
| GHSA-cfjv-5498-mph5 | CVE-2020-15169 | MODERATE | XSS in Action View |
| GHSA-65cv-r6x7-79hv | CVE-2020-5267 | MODERATE | Cross site scripting vulnerability in ActionView |
| GHSA-pc3m-v286-2jwj | CVE-2016-6316 | MODERATE | actionview Cross-site Scripting vulnerability |
| GHSA-6834-r92f-jj42 | - | MODERATE | Moderate severity vulnerability that affects actionview |
| GHSA-2pwf-xwr3-hp55 | - | MODERATE | Moderate severity vulnerability that affects actionview |
CVE-2026-33168 at a Glance
How to Fix CVE-2026-33168
To remediate this vulnerability, upgrade all affected Actionview dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade actionview to 8.1.2.1
Upgrade actionview to 8.0.4.1
Upgrade actionview to 7.2.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for actionview
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-33168, inspect your project dependencies for Actionview:
inspect dependencies for actionview
Analyze the terminal output to locate any version of Actionview in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.1.2.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Actionview, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-33168 Affected Actionview Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
actionview
|
RubyGems |
≥ 8.1.0.beta1
< 8.1.2.1
|
8.1.2.1
|
|
actionview
|
RubyGems |
≥ 8.0.0.beta1
< 8.0.4.1
|
8.0.4.1
|
|
actionview
|
RubyGems |
< 7.2.3.1
|
7.2.3.1
|
References
Frequently Asked Questions
What is CVE-2026-33168?
Which Actionview versions are affected?
What version fixes CVE-2026-33168?
Is actionview affected?
What CWE is associated with CVE-2026-33168?
How can I check RubyGems dependencies for CVE-2026-33168?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v55j-83pf-r9cq",
"modified" : "2026-05-13T16:14:53Z",
"published" : "2026-03-23T20:51:18Z",
"aliases" : [ "CVE-2026-33168" ],
"summary" : "Rails has a possible XSS vulnerability in its Action View tag helpers",
"details" : "### Impact\nWhen 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.\n\n### Releases\nThe fixed releases are available at the normal locations.\n\n### Credit\nThis issue was responsibly reported by Hackerone researcher [taise](https://hackerone.com/taise).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.1.0.beta1"
}, {
"fixed" : "8.1.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0.beta1"
}, {
"fixed" : "8.0.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.2.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rails/rails/security/advisories/GHSA-v55j-83pf-r9cq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33168"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/commit/0b6f8002b52b9c606fd6be9e7915d9f944cf539c"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/commit/63f5ad83edaa0b976f82d46988d745426aa4a42d"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/commit/c79a07df1e88738df8f68cb0ee759ad6128ca924"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rails/rails"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/releases/tag/v7.2.3.1"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/releases/tag/v8.0.4.1"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/releases/tag/v8.1.2.1"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2026-33168.yml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-23T20:51:18Z",
"nvd_published_at" : "2026-03-23T23:17:12Z"
}
}