HighGHSA-cr3x-7m39-c6jqBIT-rails-2020-8163CVE-2020-8163
Remote code execution via user-provided local names in ActionView
Published 7 Jul 2020 · Updated 16 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 package
actionviewRubyGems
- Affected
- <4.2.11.3
- Fixed in
- 4.2.11.3
Update to the fixed version for your release line, for example:
bundle update --conservative actionview # Gemfile: '>= 4.2.11.3'Details
The is a code injection vulnerability in versions of Rails prior to 5.0.1 that would allow an attacker who controlled the locals argument of a render call to perform a RCE.
Is GHSA-cr3x-7m39-c6jq 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-2020-8163
- Linkhackerone.com/reports/304805
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml
- Linkgroups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0
- Linkgroups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0
- Linklists.debian.org/debian-lts-announce/2020/07/msg00013.html
- Linkpacketstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.