Back
CVE-2020-8167
A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.
- 6.5MediumCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 26% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.
Timeline
ID reserved
By hackerone
- 5 months later
· 5 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 26% of all CVEs (10 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
http://github.com/rails/rails
- affected Fixed in 5.2.4.3, 6.0.3.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionviewGHSA-xq5j-gw7f-jgj8 (opens in a new tab)
References
3
- https://hackerone.com/reports/189878 (opens in a new tab)x_refsource_MISCx_transferred
- https://groups.google.com/g/rubyonrails-security/c/x9DixQDG9a0 (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4766 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-0579 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xq5j-gw7f-jgj8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-8167)Record last updated .