🛡️ CVE-2024-34078 on Debian — python-html-sanitizer
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.
Distribution advisory
This page covers CVE-2024-34078 as tracked by Debian, for the package python-html-sanitizer. The fix is available in version 1.9.1-2+deb11u1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.
Affected software
DEBIAN-CVE-2024-34078 is recorded against 1 package.
- python-html-sanitizer (fixed in 1.9.1-2+deb11u1)
Timeline and source
Published on 6 May 2024 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-34078 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| python-html-sanitizer | — | 1.9.1-2+deb11u1 |
References
Similar Threats
- Unknown DLA-3856-1
- Unknown UBUNTU-CVE-2024-34078
Site Security Check
Is python-html-sanitizer part of your stack?
DEBIAN-CVE-2024-34078 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.