Unrated severityNVD Advisory· Published Dec 2, 2026
HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names
CVE-2026-142188
Description
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.
Patches
Vulnerability mechanics
References
3- www.vulncheck.com/advisories/html-purifier-through-4.19.1-uri-hostblacklist-bypass-via-mixed-case-host-namesmitrethird-party-advisory
- github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/AttrDef/URI/Host.phpmitretechnical-description
- github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/URIFilter/HostBlacklist.phpmitretechnical-description
News mentions
0No linked articles in our index yet.