CRITICAL
GHSA-mjjq-c88q-qhr6
Cross-Site Scripting in dompurify
Quick fix
GHSA-mjjq-c88q-qhr6 — dompurify: upgrade to the fixed version with the command below.
npm install dompurify@2.0.7Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/dompurify"]}'