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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3856-1 | python-html-sanitizer security update |
EUVD |
EUVD-2024-1840 | 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. |
Github GHSA |
GHSA-wvhx-q427-fgh3 | Arbitrary HTML present after sanitization because of unicode normalization |
References
History
Mon, 26 Aug 2024 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-26T18:03:11.753Z
Reserved: 2024-04-30T06:56:33.383Z
Link: CVE-2024-34078
Updated: 2024-08-26T18:03:11.753Z
Status : Deferred
Published: 2024-05-06T15:15:24.187
Modified: 2026-04-15T00:35:42.020
Link: CVE-2024-34078
No data.
OpenCVE Enrichment
No data.
Weaknesses
Debian DLA
EUVD
Github GHSA