{"id":"CVE-2019-15587","aliases":["GHSA-c3gv-9cxf-6f57"],"url":"https://o3.security/vulnerability/CVE-2019-15587","summary":"Loofah Allows Cross-site Scripting","details":"In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.","published":"2019-10-22T21:15:10.610Z","modified":"2026-07-08T05:53:01.305275826Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"loofah","fixedVersion":"2.3.1"}],"fix":{"url":"https://github.com/flavorjones/loofah/commit/0c6617af440879ce97440f6eb6c58636456dc8ec","label":"flavorjones/loofah@0c6617a"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5/"},{"type":"ADVISORY","url":"https://github.com/flavorjones/loofah/issues/171"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20191122-0003/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4498-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4554"},{"type":"REPORT","url":"https://hackerone.com/reports/709009"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15587"},{"type":"WEB","url":"https://github.com/flavorjones/loofah/commit/0c6617af440879ce97440f6eb6c58636456dc8ec"},{"type":"PACKAGE","url":"https://github.com/flavorjones/loofah"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2019-15587.yml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20191122-0003"},{"type":"WEB","url":"https://usn.ubuntu.com/4498-1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:53:01.305275826Z"}}