GHSA-mjjq-c88q-qhr6
Cross-Site Scripting in dompurify
Severity by source
No source gives a CVSS score.
Trivy's own label is CRITICAL. Rated critical by GHSA.
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 Upgrade to version 2.0.7 or later.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | dompurify | 2.0.7 |