XSS in Rails Actionview
CVE-2020-5267
In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.015 (73.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Rails Actionview — versions < 5.2.4.2, >= 6.0.0, < 6.0.2.2
- Rubyonrails Actionview
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 33
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv (Exploit, Patch, Third Party Advisory)
- github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a (Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2020/03/19/1 (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/03/msg00022.html (mailing-list, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-5267?
- CVE-2020-5267 is a medium-severity vulnerability in Rails Actionview, classified under Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). CVSS score: 4.0/10. Published 2020-03-19.
- How severe is CVE-2020-5267?
- Medium severity. CVSS v3 base score is 4.0 out of 10.
- Is CVE-2020-5267 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.