{"id":"CVE-2026-142188","summary":"HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names","details":"HTML Purifier through 4.19.1 contains a blacklist bypass vulnerability in HTMLPurifier_URIFilter_HostBlacklist that allows attackers to evade URI.HostBlacklist using mixed-case host names. Attackers can submit HTML with link or resource URIs whose host differs in letter case from blacklist entries, defeating the case-sensitive strpos() check so blacklisted hosts remain in purified output.","modified":"2026-12-02T18:00:19.615033498Z","published":"2026-12-02T16:51:02.857Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-178"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142188.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142188.json"},{"type":"PACKAGE","url":"https://github.com/ezyang/htmlpurifier"},{"type":"ARTICLE","url":"https://github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/AttrDef/URI/Host.php#L84-L89"},{"type":"ARTICLE","url":"https://github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/URIFilter/HostBlacklist.php#L35-L43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142188"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/html-purifier-through-4.19.1-uri-hostblacklist-bypass-via-mixed-case-host-names"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ezyang/htmlpurifier","events":[{"introduced":"0"},{"last_affected":"5e0539132d934f936fbae2c88b55d58f9438623f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"4.19.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v4.19.1","v4.19.0","v4.18.0","v4.17.0","v4.16.0","v4.15.0","v4.14.0","v4.13.0","v4.12.0","v4.11.0","v4.10.0","v4.9.3","v4.9.2","v4.9.1","v4.8.0","4.8.0","v4.7.0","v4.6.0","v4.5.0","v4.4.0","v4.3.0","v4.2.0","v4.1.1","v4.1.0","v4.0.0","v3.3.0","v3.2.0","v3.1.1.2","v3.1.1.1","v3.1.1","v3.1.0","v3.1.0rc1","v3.0.0","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.1","v2.0.0","v1.6.1","v1.6.0","v1.4.1","v1.4.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142188.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}