CVE-2024-34078
CVE-2024-34078 · html-sanitizer allows arbitrary HTML present after sanitization because of unicode normalization
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.1 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Affected products and versions
html-sanitizer
- Versions
- < 2.4.2: Affected
No fix published
python-html-sanitizer Debian:11
- Versions
- 1.9.1-2
- Affected ranges
- ECOSYSTEM: < 1.9.1-2+deb11u1
Update to 1.9.1-2+deb11u1
html-sanitizer PyPI
- Versions
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.2.0
- 1.2.1
- 1.3.0
- 1.4.0
- 1.5.0
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.8.0
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- 2.3.1
- 2.4.0
- 2.4.1
- Affected ranges
- ECOSYSTEM: < 2.4.2
Update to 2.4.2
python-html-sanitizer Ubuntu:22.04:LTS
- Versions
- 1.9.1-2
- 1.9.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-html-sanitizer Ubuntu:24.04:LTS
- Versions
- 2.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published