{"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-05-28T04:05:03.903706738Z","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"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"16.04"}],"source":"CPE_STRING","cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*"],"vendor_product":"canonical:ubuntu_linux"},{"extracted_events":[{"last_affected":"9.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"vendor_product":"debian:debian_linux"},{"extracted_events":[{"last_affected":"30"},{"last_affected":"31"}],"source":"CPE_STRING","cpes":["cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"],"vendor_product":"fedoraproject:fedora"}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flavorjones/loofah","events":[{"introduced":"0"},{"last_affected":"f6d4c2d1b094e33848ed454f4a69f3c12cd44084"}],"database_specific":{"source":"CPE_RANGE","extracted_events":[{"introduced":"0"},{"last_affected":"2.3.0"}],"cpe":"cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*"}}],"versions":["v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.1.0.rc2","v2.1.0.rc1","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v1.0.0.beta.1","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}