{"id":"CVE-2019-15587","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.","aliases":["GHSA-c3gv-9cxf-6f57"],"modified":"2026-04-10T04:15:47.416565Z","published":"2019-10-22T21:15:10.610Z","related":["SUSE-SU-2022:3868-1","SUSE-SU-2022:4075-1","openSUSE-SU-2024:11337-1","openSUSE-SU-2024:11900-1","openSUSE-SU-2024:13162-1","openSUSE-SU-2024:14171-1","openSUSE-SU-2025:15120-1","openSUSE-SU-2026:10353-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMCWPLYPNIWYAY443IZZJ4IHBBLIHBP5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4WK2UG7ORKRQOJ6E4XJ2NVIHYJES6BYZ/"},{"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":"ADVISORY","url":"https://github.com/flavorjones/loofah/issues/171"},{"type":"REPORT","url":"https://hackerone.com/reports/709009"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flavorjones/loofah","events":[{"introduced":"0"},{"last_affected":"f6d4c2d1b094e33848ed454f4a69f3c12cd44084"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.3.0"}]}}],"versions":["v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.4.4","v0.4.5","v0.4.6","v0.4.7","v1.0.0","v1.0.0.beta.1","v1.1.0","v1.2.0","v1.2.1","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.1.0","v2.1.0.rc1","v2.1.0.rc2","v2.1.1","v2.2.0","v2.2.1","v2.2.2","v2.3.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"30"}]},{"events":[{"introduced":"0"},{"last_affected":"31"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15587.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}