CVEvulnerability
CVE-2020-5267
4.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-03-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.0 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 4.8 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-79, CWE-80
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.
Affected configurations
• 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
Related
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1 Exploit, Mailing List, Patch, Third Party Advisory
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a Patch, Third Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv Exploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/ lists.fedoraproject.org
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/03/19/1 Exploit, Mailing List, Patch, Third Party Advisory
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a Patch, Third Party Advisory
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv Exploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/ lists.fedoraproject.org