● npm package
dompurify
Dompurify has 33 security advisories. The newest release any of them names as the fix is 3.4.17.
As of , dompurify has 33 security advisories. The newest release any of them names as the fix is 3.4.17.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 3.4.17 | 3.4.17 | 33 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-116804GHSA-cg2g-xh64-v4q7 | DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modesLow severity | From 3.4.4 before 3.4.17 | 3.4.17 | |
| CVE-2026-116803GHSA-mrv2-3pqr-j5jr | 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)Low severity | Before 3.4.17 | 3.4.17 | |
| CVE-2026-116802GHSA-c6gr-qvv4-5v3f | DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xmlLow severity | Before 3.4.17 | 3.4.17 | |
| CVE-2026-109345GHSA-6688-9rhm-gjv2 | DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup, pure HTML reparse executesLow severity | Before 3.4.16 | 3.4.16 | |
| CVE-2026-109344GHSA-p98j-92pf-mc4p | DOMPurify: IN_PLACE: node-removing afterSanitize hook leaves detached subtree event handlers armed, causing DOM XSSLow severity | From 3.4.13 before 3.4.16 | 3.4.16 | |
| CVE-2026-75838GHSA-55q2-fjhq-7xh7 | DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSSModerate severity | Before 3.4.13 | 3.4.13 | |
| CVE-2026-66010GHSA-c2j3-45gr-mqc4 | DOMPurify: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements.Low severity | Before 3.4.12 | 3.4.12 | |
| CVE-2026-65898GHSA-cmwh-pvxp-8882 | DOMPurify: Permanent `ALLOWED_ATTR` pollution via `setConfig()` bypassing the hook clone-guard (incomplete fix of the 3.4.7 hook-pollution patch)Moderate severity | Before 3.4.11 | 3.4.11 | |
| CVE-2026-65899GHSA-vxr8-fq34-vvx9 | DOMPurify: Trusted Types policy survives `clearConfig()` and can poison later `RETURN_TRUSTED_TYPE` outputLow severity | Before 3.4.9 | 3.4.9 | |
| CVE-2026-65900GHSA-gvmj-g25r-r7wr | DOMPurify: SAFE_FOR_TEMPLATES bypass - template expressions survive sanitization inside <template> content when using DOM output modesLow severity | From 3.0.0 before 3.4.8 | 3.4.8 | |
| CVE-2026-49978GHSA-rp9w-3fw7-7cwq | DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.contentModerate severity | Before 3.4.7 | 3.4.7 | |
| CVE-2026-65901GHSA-x4vx-rjvf-j5p4 | DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objectsLow severity | Up to and including 3.4.6 | No fixed version listed | |
| CVE-2026-65902GHSA-76mc-f452-cxcm | DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`Moderate severity | Before 3.4.7 | 3.4.7 | |
| CVE-2026-49458GHSA-hpcv-96wg-7vj8 | DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checksModerate severity | Before 3.4.6 | 3.4.6 | |
| CVE-2026-49459GHSA-r47g-fvhr-h676 | DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOMModerate severity | Before 3.4.6 | 3.4.6 | |
| CVE-2026-47423GHSA-87xg-pxx2-7hvx | DOMPurify XSS via selectedcontent re-cloneHigh severity | From 3.4.4 before 3.4.5 | 3.4.5 | |
| CVE-2026-41240GHSA-h7mw-gpvr-xq4m | DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)Moderate severity | Before 3.4.0 | 3.4.0 | |
| CVE-2026-41239GHSA-crv5-9vww-q3g8 | DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM modeModerate severity | From 1.0.10 before 3.4.0 | 3.4.0 | |
| CVE-2026-41238GHSA-v9jr-rg53-9pgp | DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING FallbackModerate severity | From 3.0.1 before 3.4.0 | 3.4.0 | |
| CVE-2026-65903GHSA-39q2-94rc-95cp | DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluationModerate severity | Before 3.4.0 | 3.4.0 | |
| CVE-2026-65912GHSA-cjmm-f4jc-qw8r | DOMPurify ADD_ATTR predicate skips URI validationModerate severity | Before 3.3.2 | 3.3.2 | |
| CVE-2026-65913GHSA-cj63-jhhr-wcxv | DOMPurify USE_PROFILES prototype pollution allows event handlersModerate severity | Before 3.3.2 | 3.3.2 | |
| CVE-2026-65914GHSA-h8r8-wccr-v5f2 | DOMPurify is vulnerable to mutation-XSS via Re-ContextualizationModerate severity | Before 3.3.2 | 3.3.2 | |
| CVE-2026-0540GHSA-v2wj-7wpq-c8vv | DOMPurify contains a Cross-site Scripting vulnerabilityModerate severity | From 3.1.3 before 3.3.2; From 2.5.3 before 2.5.9 | 2.5.9, 3.3.2 | |
| CVE-2025-15599GHSA-v8jm-5vwx-cfxm | DOMPurify contains a Cross-site Scripting vulnerabilityModerate severity | From 3.1.3 before 3.2.7; From 2.5.3 up to and including 2.5.8 | 3.2.7 | |
| CVE-2025-26791GHSA-vhxf-7vqr-mrjg | DOMPurify allows Cross-site Scripting (XSS)Moderate severity | Before 3.2.4 | 3.2.4 | |
| CVE-2024-48910GHSA-p3vf-v8qc-cwcr | DOMPurify vulnerable to tampering by prototype polutionCritical severity | Before 2.4.2 | 2.4.2 | |
| CVE-2024-47875GHSA-gx9m-whjm-85jf | DOMpurify has a nesting-based mXSSHigh severity | From 3.0.0 before 3.1.3; Before 2.5.0 | 2.5.0, 3.1.3 | |
| CVE-2024-45801GHSA-mmhx-hmjr-r674 | DOMPurify allows tampering by prototype pollutionHigh severity | From 3.0.0 before 3.1.3; Before 2.5.4 | 2.5.4, 3.1.3 | |
| CVE-2019-25155GHSA-8hgg-xxm5-3873 | DOMPurify Open Redirect vulnerabilityModerate severity | Before 1.0.11 | 1.0.11 | |
| CVE-2020-26870GHSA-63q7-h895-m982 | Cross-site Scripting in dompurifyModerate severity | Before 2.0.17 | 2.0.17 | |
| GHSA-mjjq-c88q-qhr6 | Cross-Site Scripting in dompurifyCritical severity | Before 2.0.7 | 2.0.7 | |
| CVE-2019-16728GHSA-chqj-j4fh-rw7m | Cross-Site Scripting in dompurifyModerate severity | Before 2.0.3 | 2.0.3 |
Other npm packages
- node-forge36 advisories
- apostrophe35 advisories
- pnpm32 advisories
- astro31 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0