CVE-2026-144959

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.

CVSS base score
4.7 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-182
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

References

View full NVD advisory →

Published the same day

← Back to CVE watch