CVE-2026-144958

CVE-2026-144958CVE-2026-144958

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.

Scoring

CVSS 4.7 ()
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Last modified2026-12-04
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.