MediumGHSA-pc3m-v286-2jwjCVE-2016-6316

actionview Cross-site Scripting vulnerability

Published 24 Oct 2017 · Updated 20 Feb 2024

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
>=3.0.0 <3.2.22.3
Fixed in
3.2.22.3
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 3.2.22.3'
actionviewRubyGems
Affected
>=4.0.0 <4.2.7.1
Fixed in
4.2.7.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 4.2.7.1'
actionviewRubyGems
Affected
>=5.0.0 <5.0.0.1
Fixed in
5.0.0.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 5.0.0.1'

Details

Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.

Is GHSA-pc3m-v286-2jwj 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
  • LowCVE-2026-33168Rails has a possible XSS vulnerability in its Action View tag helpers · 23 Mar 2026
  • MediumCVE-2023-23913rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements · 9 Jun 2023
All 17 advisories for actionview

References

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