{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8167","id":"CVE-2020-8167","title":"CSRF Vulnerability in rails-ujs","description":"A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.","descriptionLong":"A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.","published":"2020-06-19T17:16:06.000Z","updated":"2026-10-24T10:30:35.122068993Z","reserved":"2020-01-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["http://github.com/rails/rails"],"affectedProducts":[{"vendor":"n/a","product":"http://github.com/rails/rails","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed in 5.2.4.3, 6.0.3.1"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[">=5.0.0 <5.2.4.3",">=6.0.0 <6.0.3.1"],"fixed":["5.2.4.3","6.0.3.1"],"advisory":"GHSA-xq5j-gw7f-jgj8"}],"cwes":["CWE-352"],"aliases":["GHSA-xq5j-gw7f-jgj8"],"references":[{"url":"https://hackerone.com/reports/189878","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/x9DixQDG9a0","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.debian.org/security/2020/dsa-4766","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8167","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8167.yml","tags":["web"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/x9DixQDG9a0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01485,"epssPercentile":0.74531,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8167","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8167","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8167","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xq5j-gw7f-jgj8","ok":true,"note":"GHSA-xq5j-gw7f-jgj8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8167","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}