freenode

← CVE tracker

CVE-2026-144958

Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization

Severity
low CVSS 2.3 (v4.0)
Affects
html5-php · Masterminds
Weakness
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
4 December 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.