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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-144958— Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization

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 之前版本在 OutputRules::namespaceAttrs 中存在跨站脚本漏洞,该函数将 xmlns:* 命名空间声明值写入双引号属性时未进行转义。攻击者可提供包含带有双引号的 xmlns:x 值的 HTML,以绕过基于 DOM 遍历的净化器,并在通过 saveHTML 重新序列化输出时注入脚本。

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

I. Basic Information for CVE-2026-144958

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 XSS via Unescaped xmlns Attribute Serialization
Source: CVE Program / CVE List V5
Vulnerability Description
Masterminds html5-php before 2.12.0 contains a cross-site scripting vulnerability in OutputRules::namespaceAttrs, which writes xmlns:* namespace declaration values into double-quoted attributes without escaping. Attackers can supply HTML with an xmlns:x value containing a double quote to bypass DOM-walking sanitizers and inject script into output re-serialized with saveHTML.
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
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
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-144958

# 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-144958

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

Other References for CVE-2026-144958 (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-144959 4.7 MEDIUM Masterminds html5-php before 2.12.0 Filter Bypass XSS via Invalid UTF-8 Removal

IV. Related Vulnerabilities