{"id":"CVE-2024-34078","summary":"html-sanitizer allows arbitrary HTML present after sanitization because of unicode normalization","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.\n","aliases":["GHSA-wvhx-q427-fgh3","PYSEC-2026-1455"],"modified":"2026-08-12T03:51:48.653726614Z","published":"2024-05-06T14:48:47.506Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34078.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/08/msg00000.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34078.json"},{"type":"ADVISORY","url":"https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34078"},{"type":"FIX","url":"https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matthiask/html-sanitizer","events":[{"introduced":"0"},{"fixed":"48db42fc5143d0140c32d929c46b802f96913550"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.4.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["2.4.1","2.4","2.3.1","2.3","2.2","2.1","2.0","1.9.3","1.9.2","1.9.1","1.9","1.8","1.7.3","1.7.2","1.7.1","1.7","1.6.4","1.6.3","1.6.2","1.6.1","1.6","1.5","1.4","1.3","1.2.1","1.2","1.1.4","1.1.3","1.1.2","1.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34078.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}