PT-2026-168203
CVE-2026-144959
·
Published
2026-12-04
·
Updated
2026-12-04
Description by
CVSS 3.1
4.7
MediumMetricsAV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Masterminds html5-php versions prior to 2.12.0
Description
An issue exists where the
convertToUTF8() function in UTF8Utils deletes invalid UTF-8 bytes instead of replacing them with the Unicode replacement character U+FFFD. This behavior allows attackers to bypass raw-byte tag filters by inserting bytes such as 0xFF to split tokens, such as <scrxFFipt>, enabling the injection of script elements into the rendered output, which leads to cross-site scripting.Recommendations
Update Masterminds html5-php to version 2.12.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾