Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-144959— Masterminds html5-php before 2.12.0 Filter Bypass XSS via Invalid UTF-8 Removal

Quick assessment

Affected
Masterminds html5-php
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Masterminds html5-php 2.12.0 之前版本存在跨站脚本漏洞,原因是 UTF8Utils::convertToUTF8 会删除无效的 UTF-8 字节,而非将其替换为 U+FFFD。攻击者可利用 0xFF 等字节将类似 <scr\xFFipt> 的标记进行拆分,从而绕过基于原始字节的标签过滤器,将脚本元素注入到渲染后的输出中。

CVSS 4.7 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-144959

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Masterminds html5-php before 2.12.0 Filter Bypass XSS via Invalid UTF-8 Removal
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
数据的崩溃导致不安全数值
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Masterminds html5-php 0 ~ 2.12.0 -

II. Public POCs for CVE-2026-144959

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-144959

请登录查看更多情报信息。

Other References for CVE-2026-144959 (5)

Same Patch Batch · Masterminds · 2026-12-04 · 3 CVEs total

CVE-2026-144957 5.3 MEDIUM Masterminds html5-php before 2.12.0 CPU Exhaustion via Parse-Error Position Tracking
CVE-2026-144958 4.7 MEDIUM Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization

IV. Related Vulnerabilities