{"id":"UBUNTU-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.","modified":"2026-02-04T03:00:29.117226Z","published":"2019-10-22T21:15:00Z","related":["USN-4498-1"],"upstream":["CVE-2019-15587"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15587"},{"type":"REPORT","url":"https://hackerone.com/reports/709009"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4498-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-15587"}],"affected":[{"package":{"name":"ruby-loofah","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-loofah@2.0.3-2+deb9u3build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3-2+deb9u3build0.16.04.1"}]}],"versions":["2.0.2-1","2.0.3-1","2.0.3-2","2.0.3-2+deb9u1build0.16.04.1","2.0.3-2+deb9u2build0.16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.0.3-2+deb9u3build0.16.04.1","binary_name":"ruby-loofah"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15587.json"}},{"package":{"name":"ruby-loofah","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-loofah@2.2.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-2","2.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.2-1","binary_name":"ruby-loofah"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15587.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}