PT-2026-168202
CVE-2026-144958
·
Published
2026-12-04
·
Updated
2026-12-04
Description by
CVSS 3.1
4.7
MediumMetricsAV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Masterminds html5-php versions prior to 2.12.0
Description
An issue exists in the
OutputRules::namespaceAttrs function where xmlns:* namespace declaration values are written into double-quoted attributes without proper escaping. This allows attackers to provide HTML containing a double quote within an xmlns:x value to bypass DOM-walking sanitizers and inject scripts into output that is re-serialized using saveHTML.Recommendations
Update Masterminds html5-php to version 2.12.0 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾