freenode

← CVE tracker

CVE-2026-144959

Masterminds html5-php before 2.12.0 Filter Bypass XSS via Invalid UTF-8 Removal

Severity
low CVSS 2.3 (v4.0)
Affects
html5-php · Masterminds
Weakness
CWE-182: Collapse of Data into Unsafe Value
Published
4 December 2026 by VulnCheck
Masterminds html5-php before 2.12.0 contains a cross-site scripting vulnerability because UTF8Utils::convertToUTF8 deletes invalid UTF-8 bytes instead of replacing them with U+FFFD. Attackers can split tokens like <scr\xFFipt> with bytes such as 0xFF to evade raw-byte tag filters and inject script elements into rendered output.

Our coverage

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