CVEvulnerability
CVE-2024-34078
6.1 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2024-05-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550 github.com
- https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3 github.com
- https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550 github.com
- https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3 github.com
- https://lists.debian.org/debian-lts-announce/2024/08/msg00000.html lists.debian.org