{"id":"UBUNTU-CVE-2024-34078","details":"html-sanitizer is an allowlist-based HTML cleaner. If using `keep_typographic_whitespace=False` (which is the default), the sanitizer normalizes unicode to the NFKC form at the end. Some unicode characters normalize to chevrons; this allows specially crafted HTML to escape sanitization. The problem has been fixed in 2.4.2.","modified":"2025-09-08T17:00:23Z","published":"2024-05-06T15:15:00Z","upstream":["CVE-2024-34078"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-34078"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-34078"},{"type":"REPORT","url":"https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3"},{"type":"REPORT","url":"https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550"}],"affected":[{"package":{"name":"python-html-sanitizer","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-html-sanitizer@1.9.3-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.1-2","1.9.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-html-sanitizer","binary_version":"1.9.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34078.json"}},{"package":{"name":"python-html-sanitizer","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-html-sanitizer@2.2-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-html-sanitizer","binary_version":"2.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34078.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}