{"schema_version":"1.7.3","id":"GHSA-c3gv-9cxf-6f57","published":"2019-11-05T23:58:25Z","modified":"2024-02-16T08:24:36.818396Z","aliases":["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.","affected":[{"package":{"name":"loofah","ecosystem":"RubyGems","purl":"pkg:gem/loofah"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}],"versions":["0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","1.0.0","1.0.0.beta.1","1.1.0","1.2.0","1.2.1","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.1.0.rc1","2.1.0.rc2","2.1.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-c3gv-9cxf-6f57/GHSA-c3gv-9cxf-6f57.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15587"},{"type":"WEB","url":"https://github.com/flavorjones/loofah/issues/171"},{"type":"WEB","url":"https://github.com/flavorjones/loofah/commit/0c6617af440879ce97440f6eb6c58636456dc8ec"},{"type":"WEB","url":"https://hackerone.com/reports/709009"},{"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"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4554"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2019-10-24T20:44:29Z","nvd_published_at":"2019-10-22T21:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}