Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Actionview | < 5.2.4.2 |
| Debian | Debian Linux | 8.0 |
| Fedoraproject | Fedora | 33 |
| Opensuse | Leap | 15.1 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1ExploitMailing ListPatch
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9aPatchThird Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hvExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1ExploitMailing ListPatch
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9aPatchThird Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hvExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
FAQ
What is CVE-2020-5267?
CVE-2020-5267 is a vulnerability with a CVSS score of 4.0 (MEDIUM). 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...
How severe is CVE-2020-5267?
CVE-2020-5267 has been rated MEDIUM with a CVSS base score of 4.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5267?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Actionview, Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap.