Insecure functionality In node-dompurify
Description
DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
rpm rhel10 | - | - | |
debian 14 | 3.4.1+dfsg-1 | ||
npm | 3.4.0 | ||
debian 13 | - | ||
rpm rhel9 | - | - | |
rpm rhel10 | - | - | |
rpm rhel8 | - | - | |
rpm rhel10 | - | - | |
rpm rhel10 | - | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1.