{"cve":"CVE-2024-34078","nvd":{"published":"2024-05-06T15:15:24.187","modified":"2026-06-17T07:32:51.770","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550","https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3","https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550","https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3","https://lists.debian.org/debian-lts-announce/2024/08/msg00000.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:49:23.840078609+00:00"},"epss":{"cve":"CVE-2024-34078","score":0.00555,"percentile":0.46345,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-wvhx-q427-fgh3","url":"https://osv.dev/vulnerability/GHSA-wvhx-q427-fgh3","summary":"Arbitrary HTML present after sanitization because of unicode normalization","modified":"2026-09-10T03:50:14.569601746Z","packages":[{"ecosystem":"PyPI","name":"html-sanitizer","purl":"pkg:pypi/html-sanitizer","ranges":["<2.4.2"],"fixed":["2.4.2"]}]},{"id":"PYSEC-2026-1455","url":"https://osv.dev/vulnerability/PYSEC-2026-1455","summary":"Arbitrary HTML present after sanitization because of unicode normalization","modified":"2026-07-07T17:47:44.646585963Z","packages":[{"ecosystem":"PyPI","name":"html-sanitizer","purl":"pkg:pypi/html-sanitizer","ranges":["<2.4.2"],"fixed":["2.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}