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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 04 Dec 2026 15:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Masterminds html5-php before 2.12.0 Filter Bypass XSS via Invalid UTF-8 Removal
Weaknesses CWE-182
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-04T14:42:15.763Z

Reserved: 2026-12-04T14:20:48.753Z

Link: CVE-2026-144959

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-04T15:17:35.180

Modified: 2026-12-04T15:17:35.180

Link: CVE-2026-144959

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses