{"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-04-10T04:27:36.156642Z","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":"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rails/rails","events":[{"introduced":"0"},{"fixed":"4dcc5435e9569e084f6f90fcea6e7c37d7bd2b4d"},{"introduced":"66cabeda2c46c582d19738e1318be8d59584cc5b"},{"fixed":"157920aead96865e3135f496c09ace607d5620dc"},{"introduced":"0"},{"last_affected":"dd8f7185faeca6ee968a6e9367f6d8601a83b8db"},{"fixed":"033a738817abd6e446e1b320cb7d1a5c15224e9a"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.2.4.2"},{"introduced":"6.0.0"},{"fixed":"6.0.2.2"},{"introduced":"0"},{"last_affected":"8.0"}]}}],"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","v3.0.0.beta.3","v3.0.0.beta3","v3.1.0.beta1","v3.1.0.rc1","v3.2.0.rc1","v4.0.0.beta1","v4.0.0.rc1","v4.2.0.beta1","v5.0.0.beta1","v5.0.0.beta2","v5.0.0.beta4","v5.1.0.beta1","v5.2.0.rc1","v5.2.1.rc1","v5.2.4","v5.2.4.1","v5.2.4.rc1","v6.0.0","v6.0.0.beta1","v6.0.0.beta2","v6.0.2","v6.0.2.1","v6.0.2.rc1","v6.0.2.rc2","v6.1.0.rc1","v7.0.0.alpha1","v7.0.0.alpha2","v7.1.0.beta1","v8.0.0","v8.0.0.beta1","v8.0.0.rc1","v8.0.0.rc2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"15.1"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5267.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}