{"id":"CVE-2020-5267","aliases":["GHSA-65cv-r6x7-79hv"],"url":"https://o3.security/vulnerability/CVE-2020-5267","summary":"Cross site scripting vulnerability in ActionView","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.","published":"2020-03-19T18:15:16.023Z","modified":"2026-09-09T03:30:49.454398178Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"RubyGems","name":"actionview","fixedVersion":"5.2.4.2"},{"ecosystem":"RubyGems","name":"actionview","fixedVersion":"6.0.2.2"}],"fix":{"url":"https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a","label":"rails/rails@033a738"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-09T03:30:49.454398178Z"}}