DOMPurify XSS via `selectedcontent` re-clone
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cure53 | DOMPurify | 3.4.4 to before 3.4.5 | 3.4.5 | Patch available | CNA |
| — | dompurify (npm) | 3.4.4 to before 3.4.5 | 3.4.5 | Patch available | GHSA-87xg-pxx2-7hvx |
- DOMPurify Vendorcure53 Affected 3.4.4 to before 3.4.5 Fixed in 3.4.5 Patch available CNA
- dompurify (npm) Vendor— Affected 3.4.4 to before 3.4.5 Fixed in 3.4.5 Patch available GHSA-87xg-pxx2-7hvx
Remediation
- Fix · CNA DOMPurify (cure53) Fixed in 3.4.5
- Fix · GHSA-87xg-pxx2-7hvx dompurify (npm) Fixed in 3.4.5 Advisory →
Red Hat 1 advisory
- RHSA-2026:10999 Released 2026-04-27 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3-ruff-0.15.11-1.hum1@noarch@public-hummingbird-aarch64-rpms, python3-ruff-0.15.11-1.hum1@noarch@public-hummingbird-x86_64-rpms, ruff-0.15.11-1.hum1@aarch64 +2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat Hardened Images | Fixed | RHSA-2026:10999 |
Not affected: 25 products
- Cryostat 4
- Migration Toolkit for Virtualization
- Multicluster Engine for Kubernetes
- Node HealthCheck Operator
- OpenShift Lightspeed
- OpenShift Service Mesh 3
- Red Hat AMQ Broker 7
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 4
- Red Hat Ansible Automation Platform 2
- Red Hat Build of Podman Desktop
- Red Hat Data Grid 8
- Red Hat Developer Hub 1
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift GitOps
- Red Hat OpenShift Virtualization 4
- Red Hat Openshift Data Foundation 4
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat build of Apache Camel for Spring Boot 4
- Self-service automation portal 2
- streams for Apache Kafka 2
- streams for Apache Kafka 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47423
- 2026-10-03 Alias added: GHSA-87xg-pxx2-7hvx
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-31 Affected versions changed · Red Hat
References
More cure53 Dompurify vulnerabilities
- TI-2026-36811 DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content CVSS 4.0MEDIUM 6.3
- TI-2026-36614 DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM CVSS 3.1MEDIUM 6.1
- TI-2026-36613 DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks CVSS 3.1MEDIUM 6.1
- TI-2026-29849 DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix) CVSS 4.0MEDIUM 6.0
- TI-2025-19705 Cross-site scripting in cure53 DOMPurify CVSS 3.1MEDIUM 6.1
- TI-2026-46952 DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-47423 · CVE Program
- CVE-2026-47423 · NVD
- FIRST EPSS
- GHSA-87xg-pxx2-7hvx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-47423 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences