{"id":"CVE-2024-34078","aliases":["GHSA-wvhx-q427-fgh3","PYSEC-2026-1455"],"url":"https://o3.security/vulnerability/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","published":"2024-05-06T14:48:47.506Z","modified":"2026-07-15T01:49:11.225872003Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"html-sanitizer","fixedVersion":"2.4.2"}],"fix":{"url":"https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550","label":"matthiask/html-sanitizer@48db42f"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:11.225872003Z"}}