{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-34078","id":"CVE-2024-34078","title":"html-sanitizer allows arbitrary HTML present after sanitization because of unicode normalization","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.\n","descriptionLong":"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.\n","published":"2024-05-06T14:48:47.506Z","updated":"2026-11-17T21:00:06.660626854Z","reserved":"2024-04-30T06:56:33.383Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["matthiask html-sanitizer"],"affectedProducts":[{"vendor":"matthiask","product":"html-sanitizer","defaultStatus":null,"versions":[{"version":"< 2.4.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"html-sanitizer","purl":"pkg:pypi/html-sanitizer","ranges":["<2.4.2"],"fixed":["2.4.2"],"advisory":"GHSA-wvhx-q427-fgh3"}],"cwes":["CWE-79"],"aliases":["GHSA-wvhx-q427-fgh3","PYSEC-2026-1455"],"references":[{"url":"https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/08/msg00000.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34078.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34078","tags":["advisory"]},{"url":"https://github.com/matthiask/html-sanitizer","tags":["package"]},{"url":"https://pypi.org/project/html-sanitizer","tags":["package"]},{"url":"https://github.com/advisories/GHSA-wvhx-q427-fgh3","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00555,"epssPercentile":0.47116,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-34078","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34078","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-34078","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wvhx-q427-fgh3","ok":true,"note":"GHSA-wvhx-q427-fgh3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34078","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}