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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 04 Dec 2026 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization | |
| Weaknesses | CWE-79 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-04T14:42:17.056Z
Reserved: 2026-12-04T14:20:48.374Z
Link: CVE-2026-144958
No data.
Status : Received
Published: 2026-12-04T15:17:34.983
Modified: 2026-12-04T15:17:34.983
Link: CVE-2026-144958
No data.
OpenCVE Enrichment
No data.
Weaknesses