CVE-2020-8163 — Vulnerability in actionview — CVE Details
Remote code execution via user-provided local names in ActionView
What Should I Do?
Fix in Your Next Sprint
This vulnerability has a 82.47% chance of being exploited within 30 days.
Does your project use an affected actionview version?
Paste your Gemfile.lock to check it for CVE-2020-8163 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published July 7, 2020 (2333 days ago).
- Last revised February 16, 2024 — 1319 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install actionview -v 4.2.11.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| actionview RubyGems · Affected: 4.1.0, 4.1.0.beta1, 4.1.0.beta2, 4.1.0.rc1 (+74 more) | 4.2.11.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8163ADVISORY
- https://hackerone.com/reports/304805WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.ymlWEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0WEB
- https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0WEB
- https://lists.debian.org/debian-lts-announce/2020/07/msg00013.htmlWEB
- https://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.htmlWEB
Frequently Asked Questions
- What is CVE-2020-8163?
- Remote code execution via user-provided local names in ActionView. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2020-8163?
- CVE-2020-8163 affects actionview. It has a 82.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-8163 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2019-5418HIGH
Path Traversal in Action View
- CVE-2019-5419HIGH
Denial of Service Vulnerability in Action View
- CVE-2026-126079MEDIUM
Action View: Possible XSS vulnerability in text helpers
- CVE-2026-126069MEDIUM
Action View: Possible XSS vulnerability in tag helpers
- CVE-2022-27777MEDIUM
XSS Vulnerability in Action View tag helpers
- CVE-2016-6316MEDIUM
actionview Cross-site Scripting vulnerability
- CVE-2026-126070MEDIUM
Action View: Possible XSS vulnerability in strip_tags
- CVE-2026-33168LOW
Rails has a possible XSS vulnerability in its Action View tag helpers