CVE-2026-142188

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

Published Dec 2, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names
First Time appeared Htmlpurifier
Htmlpurifier htmlpurifier
Weaknesses CWE-178
CPEs cpe:2.3:a:htmlpurifier:htmlpurifier:*:*:*:*:*:*:*:*
Vendors & Products Htmlpurifier
Htmlpurifier htmlpurifier
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 4:51 PM
Reserved
Dec 2, 2026, 3:28 PM
Status
Received
Published
Dec 2, 2026, 5:17 PM
Modified
Dec 2, 2026, 5:17 PM