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?
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-6316
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-6316.yml
- Linkgroups.google.com/forum/#!topic/ruby-security-ann/8B2iV2tPRSE
- Linkgroups.google.com/forum/#!topic/rubyonrails-security/I-VWr034ouk
- Linkweb.archive.org/web/20200227202008/http://www.securityfocus.com/bid/92430
- Linkweb.archive.org/web/20200812154343/https://puppet.com/security/cve/cve-2016-6316
- Linkrhn.redhat.com/errata/RHSA-2016-1855.html
- Linkrhn.redhat.com/errata/RHSA-2016-1856.html
- Linkrhn.redhat.com/errata/RHSA-2016-1857.html
- Linkrhn.redhat.com/errata/RHSA-2016-1858.html
- Linkweblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released
- Linkwww.debian.org/security/2016/dsa-3651
- Linkwww.openwall.com/lists/oss-security/2016/08/11/3
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.