freenode

← CVE tracker

CVE-2026-142188

HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names

Severity
medium CVSS 5.3 (v4.0)
Affects
HTML Purifier
Weakness
CWE-178: Improper Handling of Case Sensitivity
Published
2 December 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.