CVE-2020-5267
Last modified
CVE-2020-5267 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 1.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Actionview | < 5.2.4.2 |
| Rubyonrails | Actionview | >= 6.0.0, < 6.0.2.2 |
| Debian | Debian Linux | 8.0 |
| Fedoraproject | Fedora | 33 |
| Opensuse | Leap | 15.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.htmlMailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1Exploit, Mailing List, Patch, Third Party Advisory
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9aPatch, Third Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hvExploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.htmlMailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1Exploit, Mailing List, Patch, Third Party Advisory
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9aPatch, Third Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hvExploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-5267?
How severe is CVE-2020-5267?
How do I fix CVE-2020-5267?
Are you affected by CVE-2020-5267?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
