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
- Regular Expression Denial of Service (ReDoS) in lodash - CVE-2020-28500
- Payload's SQLite adapter Session Fixation vulnerability - CVE-2025-4644
- DOMPurify allows Cross-site Scripting (XSS) - CVE-2025-26791
- Elliptic's verify function omits uniqueness validation - CVE-2024-48949
- Tags:
- npm
- dompurify
Anything's wrong? Let us know Last updated on January 09, 2023