LowGHSA-v55j-83pf-r9cqCVE-2026-33168

Rails has a possible XSS vulnerability in its Action View tag helpers

Published 23 Mar 2026 · Updated 10 Sept 2026

Is your project on an affected actionview?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

actionviewRubyGems
Affected
>=8.1.0.beta1 <8.1.2.1
Fixed in
8.1.2.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 8.1.2.1'
actionviewRubyGems
Affected
>=8.0.0.beta1 <8.0.4.1
Fixed in
8.0.4.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 8.0.4.1'
actionviewRubyGems
Affected
<7.2.3.1
Fixed in
7.2.3.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 7.2.3.1'

Details

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.

Is GHSA-v55j-83pf-r9cq in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected actionview, and gives you the command that fixes it.

More advisories for actionview

  • MediumCVE-2026-126078Action View: Possible XSS vulnerability in highlight helper · 12 Nov 2026
  • MediumCVE-2026-126070Action View: Possible XSS vulnerability in strip_tags · 12 Nov 2026
  • MediumCVE-2026-126079Action View: Possible XSS vulnerability in text helpers · 12 Nov 2026
  • MediumCVE-2026-126069Action View: Possible XSS vulnerability in tag helpers · 12 Nov 2026
  • MediumCVE-2023-23913rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements · 9 Jun 2023
  • MediumCVE-2022-27777XSS Vulnerability in Action View tag helpers · 27 Apr 2022
All 17 advisories for actionview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.