DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root
En bref
Sévérité
MEDIUM 5.1
EPSS
EPSS 0.25 % · centile 16 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
VulnCheck
Statut NVD
Awaiting Analysis
Description
DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.