HighGHSA-xrr4-p6fq-hjg7CVE-2016-0752

Directory traversal vulnerability in Action View in Ruby on Rails

Published 24 Oct 2017 · Updated 22 Oct 2025

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
>=4.0.0 <4.1.14.1
Fixed in
4.1.14.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 4.1.14.1'
actionviewRubyGems
Affected
>=4.2.0 <4.2.5.1
Fixed in
4.2.5.1
Update to the fixed version for your release line, for example:bundle update --conservative actionview # Gemfile: '>= 4.2.5.1'
actionpackRubyGems
Affected
>=4.0.0 <4.1.14.1
Fixed in
4.1.14.1
Update to the fixed version for your release line, for example:bundle update --conservative actionpack # Gemfile: '>= 4.1.14.1'
actionpackRubyGems
Affected
>=4.2.0 <4.2.5.1
Fixed in
4.2.5.1
Update to the fixed version for your release line, for example:bundle update --conservative actionpack # Gemfile: '>= 4.2.5.1'
actionpackRubyGems
Affected
<3.2.22.1
Fixed in
3.2.22.1
Update to the fixed version for your release line, for example:bundle update --conservative actionpack # Gemfile: '>= 3.2.22.1'

Details

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.

Is GHSA-xrr4-p6fq-hjg7 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.