CVE-2020-5267
Vulnerability Summary
Timeline
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 Metrics
- v3.1•MEDIUM•Score: 4CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
- v3.1•MEDIUM•Score: 4.8CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- v2.0•LOW•Score: 3.5AV:N/AC:M/Au:S/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.89%• Percentile: 76%
Techniques & Countermeasures
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-80•Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Affected Systems
- debian•debian_linux
8.0
- fedoraproject•fedora
33
- opensuse•leap
15.1
- rails•actionview
< 5.2.4.2 | ≥ 6.0.0, < 6.0.2.2
- rubyonrails•actionview
< 5.2.4.2 | ≥ 6.0.0, < 6.0.2.2
References (6)
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a
- http://www.openwall.com/lists/oss-security/2020/03/19/1
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/