CVE-2026-144959
Awaiting Analysis Awaiting Analysis - Queue

HTML5-PHP UTF-8 XSS via Invalid Byte Handling

Vulnerability report for CVE-2026-144959, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Masterminds html5-php From 0 (inc) to 2.12.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-182 The product filters data in a way that causes it to be reduced or "collapsed" into an unsafe value that violates an expected security property.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Detection Guidance

To detect this vulnerability, check if your system uses Masterminds html5-php versions before 2.12.0. Inspect installed packages with commands like 'composer show masterminds/html5-php' or 'grep -r "html5-php" /path/to/project'. If vulnerable, update to version 2.12.0 or later.

Mitigation Strategies

Immediately update Masterminds html5-php to version 2.12.0 or later. This version replaces invalid UTF-8 bytes with U+FFFD, preventing the XSS bypass. If updating is not possible, implement strict input validation and output encoding as temporary mitigations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-144959. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...