DOMPurify 3.4.6 Cross-Site Scripting via IN_PLACE nodeName
cure53 DOMPurify
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dompurify npm |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck