CVE-2020-8167
MEDIUM 6.5CVSS 3.1CSRF Vulnerability in rails-ujs
A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.
- Published
- 19 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-xq5j-gw7f-jgj8
- Sources
- NVDJSONOSV GHSA-xq5j-gw7f-jgj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
< 5.2.4.3 | 5.2.4.3 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.3.1 | 6.0.3.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | actionview | >= 5.0.0, < 5.2.4.3 | 5.2.4.3 |
| OSV | RubyGems | actionview | >= 6.0.0, < 6.0.3.1 | 6.0.3.1 |
References
- https://groups.google.com/g/rubyonrails-security/c/x9DixQDG9a0 · Mailing List, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/189878 · Exploit, Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4766 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8167 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8167.yml · WEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/x9DixQDG9a0 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2020)