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?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=4.0.0 <4.1.14.1
- Fixed in
- 4.1.14.1
bundle update --conservative actionview # Gemfile: '>= 4.1.14.1'- Affected
- >=4.2.0 <4.2.5.1
- Fixed in
- 4.2.5.1
bundle update --conservative actionview # Gemfile: '>= 4.2.5.1'- Affected
- >=4.0.0 <4.1.14.1
- Fixed in
- 4.1.14.1
bundle update --conservative actionpack # Gemfile: '>= 4.1.14.1'- Affected
- >=4.2.0 <4.2.5.1
- Fixed in
- 4.2.5.1
bundle update --conservative actionpack # Gemfile: '>= 4.2.5.1'- Affected
- <3.2.22.1
- Fixed in
- 3.2.22.1
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-0752
- Advisorygithub.com/advisories/GHSA-xrr4-p6fq-hjg7
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml
- Linkgroups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00
- Linkgroups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- Linkweb.archive.org/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- Linkweb.archive.org/web/20210621170450/http://www.securityfocus.com/bid/81801
- Linkweb.archive.org/web/20210723192420/http://www.securitytracker.com/id/1034816
- Linkwww.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752
- Linkwww.exploit-db.com/exploits/40561
- Linklists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html
- Linklists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html
- Linklists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- Linklists.opensuse.org/opensuse-updates/2016-02/msg00034.html
- Linklists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- Linkrhn.redhat.com/errata/RHSA-2016-0296.html
- Linkwww.debian.org/security/2016/dsa-3464
- Linkwww.openwall.com/lists/oss-security/2016/01/25/13
- Linkwww.securityfocus.com/bid/81801
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.