Description
Versions of dompurify prior to 2.0.7 are vulnerable to Cross-Site Scripting (XSS). It is possible to bypass the package sanitization through Mutation XSS, which may allow an attacker to execute arbitrary JavaScript in a victim’s browser.
Recommendation
Update the dompurify package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.0.7
- Patched version(s): 2.0.7
References
Related Issues
- Elliptic's verify function omits uniqueness validation - CVE-2024-48949
- Nuxt DevTools vulnerable to cross-site scripting (XSS) - CVE-2025-52662
- DOMpurify has a nesting-based mXSS - CVE-2024-47875
- DOMPurify vulnerable to tampering by prototype polution - CVE-2024-48910
- Tags:
- npm
- dompurify
Anything's wrong? Let us know Last updated on January 09, 2023