Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
AC:H reflects the same-origin and IN_PLACE-mode prerequisites; S:C and UI:R capture victim-browser XSS with user interaction; no confidentiality or integrity impact on the vulnerable system itself.
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
3Blast Radius
ecosystem impact- 37 npm packages depend on dompurify (3 direct, 34 indirect)
Ecosystem-wide dependent count for version 3.4.6.
DescriptionCVE.org
DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts attacker-controlled nodeName on live non-form nodes. Attackers can supply hostile live DOM objects with real script children whose observable nodeName is clobbered to appear as allowed elements, causing scripts to execute when the sanitized tree is inserted into a live document.
AnalysisAI
Cross-site scripting in DOMPurify 3.4.6 and earlier enables script execution when the library's IN_PLACE sanitization mode processes attacker-supplied live DOM nodes whose nodeName property has been clobbered to masquerade as an allowed element. The vulnerability bypasses DOMPurify's existing clobbering protections, which were scoped only to form elements, leaving all other live non-form nodes susceptible to nodeName manipulation. No vendor-released patch exists at time of analysis; no public exploit code has been identified, though the GHSA advisory provides a detailed technical breakdown sufficient for exploit construction.
Technical ContextAI
DOMPurify (cure53/dompurify, CPE cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*) is a widely used npm library for sanitizing HTML and DOM content to prevent XSS (CWE-79). The library supports two primary input modes: string-based sanitization, which serializes and re-parses HTML into a clean tree, and IN_PLACE mode (IN_PLACE: true), which operates directly on a live DOM node passed by reference. In IN_PLACE mode, the _sanitizeElements function reads currentNode.nodeName to determine whether an element should be permitted or removed. A prior hardening pass introduced _isClobbered() to detect and reject form nodes whose nodeName had been clobbered via DOM property shadowing, but _isClobbered() explicitly returns false for any element that is not a form. Consequently, an attacker can supply a live DOM object - sourced from a same-origin iframe, a same-origin window.open() popup, or a node adopted via document.adoptNode() - that carries a real script child whose nodeName is overridden to resemble an allowed tag. DOMPurify classifies it as benign, retains it in the sanitized tree, and when the tree is inserted into a live document the script executes. String-based sanitization paths are entirely unaffected.
RemediationAI
No vendor-released patch has been identified at time of analysis; the package metadata confirms fixed in: None, and the GHSA advisory at https://github.com/cure53/DOMPurify/security/advisories/GHSA-x4vx-rjvf-j5p4 does not specify a remediated release. The primary compensating control is to avoid calling DOMPurify.sanitize() in IN_PLACE mode on any DOM node sourced from an untrusted or attacker-influenced origin; switching to string-based sanitization via DOMPurify.sanitize(dirtyString) (without the IN_PLACE option) is unaffected by this vulnerability and eliminates the attack surface entirely. Applications that must use IN_PLACE mode should validate that input nodes originate exclusively from fully trusted, application-controlled sources - not from cross-iframe references, popups, or document.adoptNode() on externally sourced nodes - treating any such node as untrusted regardless of apparent origin. Monitor the DOMPurify GitHub repository and npm release feed for a patched version.
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. Rated medium severity (CVSS 6
Cure53 DOMPurify before 2.0.17 allows mutation XSS. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp
DOMPurify before 2.0.1 allows XSS because of innerHTML mutation XSS (mXSS) for an SVG element or a MATH element, as demo
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. Rated critical severity (CVSS
Mutation-XSS in DOMPurify before 3.3.2 enables JavaScript execution in victim browsers when sanitized output is re-inser
Hook mutation pollution in DOMPurify <= 3.4.5 allows persistent bypass of HTML sanitization defaults when application-in
Trusted Types policy state contamination in DOMPurify 3.0.0-3.4.8 allows a previously supplied TRUSTED_TYPES_POLICY to s
Prototype pollution in DOMPurify's USE_PROFILES mode enables DOM-based XSS by causing the sanitizer to accept event hand
URI validation bypass in DOMPurify 3.3.1 and earlier allows `javascript:` protocol payloads to survive HTML sanitization
SAFE_FOR_TEMPLATES bypass in DOMPurify 3.0.0-3.4.7 allows template expressions such as ${evil}, {{evil}}, and <%evil%> t
Stored XSS is achievable in applications using DOMPurify's setConfig() API combined with an uponSanitizeAttribute hook t
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site sc
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48270