Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-65914

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

cure53 DOMPurify

Default version status: unaffected

  • 0 to < 3.3.2affected
  • 3.3.2unaffected
pkg:npm/dompurify

References