{"id":"UBUNTU-CVE-2018-16468","details":"In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.","modified":"2025-10-24T04:47:11Z","published":"2018-10-30T21:29:00Z","upstream":["CVE-2018-16468"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16468"},{"type":"REPORT","url":"https://github.com/flavorjones/loofah/issues/154"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16468"}],"affected":[{"package":{"name":"ruby-loofah","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-loofah@2.0.3-2+deb9u2build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3-2+deb9u2build0.16.04.1"}]}],"versions":["2.0.2-1","2.0.3-1","2.0.3-2","2.0.3-2+deb9u1build0.16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ruby-loofah","binary_version":"2.0.3-2+deb9u2build0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16468.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_name":"ruby-loofah","binary_version":"2.2.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16468.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}