VDB
Sign up

package

npm/dompurify

pkg:npm/dompurify

LOWnpm
GHSA-6688-9rhm-gjv2· CVE-2026-109345

DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executes

Modified: 10/13/2026

MEDIUM6.1npm
GHSA-76mc-f452-cxcm· CVE-2026-65902

DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`

Modified: 9/10/2026

LOW2.3npm
GHSA-cg2g-xh64-v4q7· CVE-2026-116804

DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modes

Modified: 11/19/2026

MEDIUM5.1npm
GHSA-cmwh-pvxp-8882· CVE-2026-65898

DOMPurify: Permanent `ALLOWED_ATTR` pollution via `setConfig()` bypassing the hook clone-guard (incomplete fix of the 3.4.7 hook-pollution patch)

Modified: 9/10/2026

LOW2.0npm
GHSA-gvmj-g25r-r7wr· CVE-2026-65900

DOMPurify: SAFE_FOR_TEMPLATES bypass - template expressions survive sanitization inside <template> content when using DOM output modes

Modified: 9/10/2026

LOW2.3npm
GHSA-mrv2-3pqr-j5jr· CVE-2026-116803

DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p)

Modified: 11/19/2026

MEDIUM6.1npm
GHSA-r47g-fvhr-h676· CVE-2026-49459

DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM

Modified: 9/10/2026

LOWnpm
GHSA-x4vx-rjvf-j5p4· CVE-2026-65901

DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objects

Modified: 9/10/2026

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"]}'