{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-144958","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-12-04T14:20:48.374Z","datePublished":"2026-12-04T14:42:17.056Z","dateUpdated":"2026-12-04T14:42:17.056Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-12-04T14:42:17.056Z"},"datePublic":"2026-10-25T00:00:00.000Z","title":"Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"affected":[{"vendor":"Masterminds","product":"html5-php","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"2.12.0","versionType":"semver","status":"affected"}],"packageURL":"pkg:composer/masterminds/html5","repo":"https://github.com/Masterminds/html5-php"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/Masterminds/html5-php/security/advisories/GHSA-pj59-fvjc-74pp","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-pj59-fvjc-74pp)"},{"url":"https://github.com/Masterminds/html5-php/commit/c99252152ca8b1bdc821181d17a1f2c98e9fba1b","tags":["patch"]},{"url":"https://github.com/Masterminds/html5-php/releases/tag/2.12.0","tags":["release-notes"],"name":"html5-php 2.12.0 Release Notes"},{"url":"https://github.com/Masterminds/html5-php/blob/2.11.0/src/HTML5/Serializer/OutputRules.php#L295-L306","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/masterminds-html5-php-before-2.12.0-xss-via-unescaped-xmlns-attribute-serialization","name":"VulnCheck Advisory: Masterminds html5-php before 2.12.0 XSS via Unescaped xmlns Attribute Serialization","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}