CVE-2024-34078
html-sanitizer is an allowlist-based HTML cleaner. If using …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550
- github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3
- lists.debian.org/debian-lts-announce/2024/08/msg00000.html
- github.com/advisories/GHSA-wvhx-q427-fgh3
- nvd.nist.gov/vuln/detail/CVE-2024-34078
- cve.org/CVERecord?id=CVE-2024-34078
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.