AploSec / Disclosures / CVE-2026-142188

Medium 5.3ReportedNo fix listedCWE-178Packagist

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

CVE-2026-142188 · published 2026-12-02

In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). No fixed release is listed yet.

Summary

CVE-2026-142188 affects HTML Purifier (Packagist) <= 4.19.1: URI.HostBlacklist Bypass via Mixed-Case Host Names (CWE-178). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
HTML Purifier
Ecosystem
Packagist
Affected
<= 4.19.1
Fixed
None
Weakness
CWE-178
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder