Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2024-34078

html-sanitizer allows arbitrary HTML present after sanitization because of unicode normalization

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

matthiask html-sanitizer

  • < 2.4.2affected

References