GHSA-mjjq-c88q-qhr6
CRITICALCross-Site Scripting in dompurify
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
Upgrade to version 2.0.7 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | dompurify | < 2.0.7 | 2.0.7 |
References
- https://github.com/cure53/DOMPurify · PACKAGE
- https://github.com/cure53/DOMPurify/releases/tag/2.0.7 · WEB
- https://www.npmjs.com/advisories/1223 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)