When DOMPurify is configured with SAFEFORTEMPLATES: true together with a DOM-returning mode (RETURNDOM: true, RETURNDOMFRAGMENT: true, or INPLACE: true)…
Full advisory text at GitHub advisory.
dompurify (npm) has 33 known vulnerabilities, the worst rated CRITICAL. No single fixed version is recorded that clears every advisory, so check each one below. No malicious-package signal is recorded.
0 direct dependencies
none carry a known advisory
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
severity band, no base score published
chance of exploitation in 30 days
CyberXYZ composite out of 10
fig. 01 — GHSA-cg2g-xh64-v4q7, the advisory selected below
When DOMPurify is configured with SAFEFORTEMPLATES: true together with a DOM-returning mode (RETURNDOM: true, RETURNDOMFRAGMENT: true, or INPLACE: true)…
Full advisory text at GitHub advisory.
CyberXYZ does not call a package safe in absolute terms. It records 33 known vulnerabilities for dompurify (npm), the worst rated CRITICAL, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Yes. CyberXYZ records 33 known vulnerabilities for dompurify (npm), the worst rated CRITICAL. These include GHSA-cg2g-xh64-v4q7, GHSA-p3vf-v8qc-cwcr, GHSA-mjjq-c88q-qhr6, GHSA-mrv2-3pqr-j5jr, GHSA-87xg-pxx2-7hvx.
Search dompurify in CyberXYZ Check at https://cyberxyz.io/check?q=dompurify. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 06:46 UTC. The most recent advisory here was published 2026-10-22. Updated continuously from NVD, GHSA, OSV and CNA feeds.