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
- DOMPurify contains a Cross-site Scripting vulnerability (GHSA-v8jm-5vwx-cfxm) - CVE-2025-15599
- Cross-Site Scripting in swagger-ui (GHSA-w992-2gmj-9xxj) - Vulnerability
- Cross-Site Scripting in swagger-ui (GHSA-vp93-gcx5-4w52) - Vulnerability
- Cross-Site Scripting in swagger-ui (GHSA-388g-jwpg-x6j4) - Vulnerability
- Tags:
- npm
- dompurify
Anything's wrong? Let us know Last updated on January 09, 2023