{"id":"CVE-2020-5267","details":"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.","aliases":["GHSA-65cv-r6x7-79hv"],"modified":"2026-02-24T11:35:45.575945Z","published":"2020-03-19T18:15:16.023Z","related":["GHSA-65cv-r6x7-79hv","SUSE-SU-2020:0954-1","SUSE-SU-2020:1178-1","SUSE-SU-2020:3036-1","SUSE-SU-2020:3147-1","SUSE-SU-2020:3160-1","openSUSE-SU-2020:0627-1","openSUSE-SU-2020:1993-1","openSUSE-SU-2020:2000-1","openSUSE-SU-2024:11321-1","openSUSE-SU-2024:11823-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2020/03/19/1"},{"type":"ADVISORY","url":"https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a"},{"type":"ADVISORY","url":"https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2020/03/19/1"},{"type":"FIX","url":"https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a"},{"type":"FIX","url":"https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv"},{"type":"ARTICLE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2020/03/19/1"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2020/03/19/1"},{"type":"EVIDENCE","url":"https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rails/rails","events":[{"introduced":"0"},{"fixed":"033a738817abd6e446e1b320cb7d1a5c15224e9a"}]}],"versions":["v0.10.0","v0.10.1","v0.11.0","v0.11.1","v0.12.0","v0.13.0","v0.13.1","v0.14.1","v0.14.3","v0.9.1","v0.9.2","v0.9.3","v0.9.4","v0.9.4.1","v0.9.5","v1.1.0","v1.1.0_RC1","v1.1.1","v2.0.0","v2.0.0_PR","v2.0.0_RC1","v2.0.0_RC2","v2.0.1","v2.1.0","v2.1.0_RC1","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.3.2","v2.3.2.1","v3.0.0.beta.2","v3.0.0.beta.3","v3.0.0.beta1","v3.0.0.beta2","v3.0.0.beta3","v3.0.0.beta4","v3.0.0_RC","v3.1.0.beta1","v3.1.0.rc1","v3.2.0.rc1","v4.0.0.beta1","v4.0.0.rc1","v4.1.0.beta1","v4.1.0.beta2","v4.2.0.beta1","v4.2.0.beta4","v5.0.0.beta1","v5.0.0.beta1.1","v5.0.0.beta2","v5.0.0.beta3","v5.0.0.beta4","v5.0.0.rc1","v5.1.0.beta1","v6.0.0.beta1","v6.0.0.beta2","v6.0.0.beta3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-5267.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}