Skip to main content
← All vulnerabilities
CVE-2026-47423GHSA-87XG-PXX2-7HVX

DOMPurify XSS via `selectedcontent` re-clone

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.5
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside <selectedcontent> is returned. This issue is fixed in version 3.4.5.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cure53 DOMPurify

    From 3.4.4 · fixed in 3.4.5

  • dompurifynpm

    From 3.4.4 · fixed in 3.4.5

References 4

GitHub · cure53/DOMPurify

GitHub · Galaxy-sc/CVE-2026-47423-dompurify-xss-detector