CVE-2026-65914 PUBLISHED

DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization

Assigner: VulnCheck
Reserved: 23.07.2026 Published: 23.07.2026 Updated: 23.07.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor cure53
Product DOMPurify
Versions Default: unaffected
  • affected from 0 to 3.3.2 (excl.)
  • Version 3.3.2 is unaffected

Credits

  • researchatfluidattacks reporter
  • caverav finder
  • tachote finder

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE