Reflected cross-site scripting (XSS) In node-dompurify
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
npm | 3.4.7 | ||
debian 13 | - | ||
debian 12 | - | ||
debian 14 | 3.4.12+dfsg-1 | ||
rpm rhel10 | - | - | |
rpm rhel9 | - | - | |
rpm rhel10 | - | - | |
rpm rhel10 | - | - | |
rpm rhel8 | - | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1.