CVE-2026-144959

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

Published Dec 4, 2026 CVSS 4.0 · 2.3 Low EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 4, 2026, 4:01 PM
Reserved
Dec 4, 2026, 2:20 PM
Status
Awaiting Analysis
Published
Dec 4, 2026, 3:17 PM
Modified
Dec 4, 2026, 4:12 PM