{"id":"CVE-2026-142188","aliases":["EUVD-2026-141517","GHSA-24jr-wwcr-xcgm"],"status":"published","title":"HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names","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.","severity":{"version":"4.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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00553,"percentile":0.47626,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-178"],"published":"2026-12-02T16:51:02Z","modified":"2026-12-04T20:45:19Z","products":[{"vendor":"html purifier","product":"html purifier"}],"references":[{"url":"https://github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/URIFilter/HostBlacklist.php#L35-L43","tags":["technical-description","article"]},{"url":"https://github.com/ezyang/htmlpurifier/blob/v4.19.1/library/HTMLPurifier/AttrDef/URI/Host.php#L84-L89","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/html-purifier-through-4.19.1-uri-hostblacklist-bypass-via-mixed-case-host-names","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142188","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-24jr-wwcr-xcgm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142188.json","tags":["advisory"]},{"url":"https://github.com/ezyang/htmlpurifier","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142188","title":"HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names","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.","status":"published","published":"2026-12-02T16:51:02.857Z","modified":"2026-12-03T16:13:18.186Z","cvss":[{"version":"4.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","level":"medium","assessor":"cna"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-178"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T16:22:12.411461Z"}],"euvd":[{"id":"EUVD-2026-141517","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.","status":"published","published":"2026-12-02T16:51:02Z","modified":"2026-12-03T16:13:18Z","cvss":[{"version":"4.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","level":"medium"}],"updated_at":"2026-12-02T21:27:22.841078Z"}],"ghsa":[{"id":"GHSA-24jr-wwcr-xcgm","title":"HTML Purifier through 4.19.1 contains a blacklist bypass vulnerability in...","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.","status":"published","published":"2026-12-02T18:31:44Z","modified":"2026-12-02T18:31:49Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-178"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"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.","status":"published","published":"2026-12-02T17:17:39.74Z","modified":"2026-12-04T16:29:40.94Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-178"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T17:18:31.165971Z"}],"osv":[{"id":"CVE-2026-142188","title":"HTML Purifier through 4.19.1 URI.HostBlacklist Bypass via Mixed-Case Host Names","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.","status":"published","published":"2026-12-02T16:51:02.857Z","modified":"2026-12-04T20:45:19.705507246Z","cvss":[{"version":"4.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","level":"medium"}],"cwes":["CWE-178"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
