# CVE-2020-8167: CSRF Vulnerability in rails-ujs

Source: https://junglewise.ai/threats/cve-2020-8167-csrf-vulnerability-in-rails-ujs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-07-07  
License: CC BY 4.0 with a link back

CVE-2020-8167 · Severity: low · CVSS 3.1 · Published 2020-07-07

CSRF Vulnerability in rails-ujs

Technologies: [actionview (RubyGems)](https://junglewise.ai/threats/technologies/actionview). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2020-8167 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-8167 being exploited in the wild.

**How severe is CVE-2020-8167?** Low severity, with a CVSS score of 3.1, published 7 July 2020.

**Which products and versions are affected?** actionview (RubyGems) ECOSYSTEM:introduced=5.0.0,fixed=5.2.4.3.

**Is there a fix for CVE-2020-8167?** Yes. actionview (RubyGems): upgrade to 5.2.4.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-8167?** Check whether you run actionview (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actionview (RubyGems): upgrade to 5.2.4.3 or later

  ```sh
  bundle update actionview
  ```


## Affected products

- actionview (RubyGems) ECOSYSTEM:introduced=5.0.0,fixed=5.2.4.3

## Identifiers

- CVE-2020-8167
- GHSA-xq5j-gw7f-jgj8

## Related threats

- [Rails Action View XSS via HTML5 sanitizer in text helpers](https://junglewise.ai/threats/cve-2026-126079-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View TextHelper highlight XSS](https://junglewise.ai/threats/cve-2026-126078-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View strip_tags XSS in HTML attributes](https://junglewise.ai/threats/cve-2026-126070-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Ruby on Rails Action View XSS in tag helpers via whitespace attribute names](https://junglewise.ai/threats/cve-2026-126069-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails has a possible XSS vulnerability in its Action View tag helpers](https://junglewise.ai/threats/cve-2026-33168-rails-has-a-possible-xss-vulnerability-in-its-action-view-tag)
