Vulnerabilities in pkg:gem/actionview

PACKAGE
Advisory Identifier: GHSA-v55j-83pf-r9cq
Advisory Summary

CVE-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.

15 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/actionview

15 Known Advisory Record(s)

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

CVE Identifier CVE-2026-33168
GHSA Identifier GHSA-v55j-83pf-r9cq
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Actionview
Package Ecosystem RubyGems
Published Date
Last Updated

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.

actionview fixed: 8.1.2.1
Upgrade actionview to 8.1.2.1
actionview fixed: 8.0.4.1
Upgrade actionview to 8.0.4.1
actionview fixed: 7.2.3.1
Upgrade actionview to 7.2.3.1
Verify Direct and Transitive Dependencies

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

### Impact When 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. ### Releases The fixed releases are available at the normal locations. ### Credit This issue was responsibly reported by Hackerone researcher [taise](https://hackerone.com/taise).

CVE-2026-33168 Affected Actionview Versions

3 component(s)
Fixed Versions:
8.1.2.18.0.4.17.2.3.1
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?
CVE-2026-33168 is a security vulnerability in Actionview involving Rails has a possible XSS vulnerability in its Action View tag helpers under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Actionview versions are affected?
Affected versions include releases prior to 8.1.2.1, 8.0.4.1, 7.2.3.1 across affected packages: actionview.
What version fixes CVE-2026-33168?
Upgrading to 8.1.2.1, 8.0.4.1, 7.2.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionview affected?
Yes, actionview is affected in releases prior to 8.1.2.1, 8.0.4.1, 7.2.3.1. Upgrade your dependency to 8.1.2.1, 8.0.4.1, 7.2.3.1 or later.
What CWE is associated with CVE-2026-33168?
CVE-2026-33168 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check RubyGems dependencies for CVE-2026-33168?
Run the dependency tree command: 'inspect dependencies for actionview'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}