{"id":"CVE-2026-65914","state":"PUBLISHED","title":"DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization","description":"DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript.","publishedAt":"2026-07-23T13:16:24.784Z","updatedAt":"2026-07-23T13:57:53.241Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["cure53 DOMPurify"],"affected":[{"vendor":"cure53","product":"DOMPurify","packageURL":"pkg:npm/dompurify","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.2","versionType":"semver"},{"version":"3.3.2","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2","https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualization"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/65xxx/CVE-2026-65914.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-65914","state":"PUBLISHED","datePublished":"2026-07-23T13:16:24.784Z","dateUpdated":"2026-07-23T13:57:53.241Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-23T12:51:09.595Z"},"containers":{"cna":{"title":"DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization","descriptions":[{"lang":"en","value":"DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript."}],"affected":[{"vendor":"cure53","product":"DOMPurify","packageURL":"pkg:npm/dompurify","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.2","versionType":"semver"},{"version":"3.3.2","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2","name":"GitHub Security Advisory (GHSA-h8r8-wccr-v5f2)","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualization","name":"VulnCheck Advisory: DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-23T13:16:24.784Z"},"datePublic":"2026-03-25T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.2"}]}]}],"credits":[{"lang":"en","value":"researchatfluidattacks","type":"reporter"},{"lang":"en","value":"caverav","type":"finder"},{"lang":"en","value":"tachote","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-23T13:57:33.467615Z","id":"CVE-2026-65914","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-23T13:57:53.241Z"}}]}}}