CISA list

● 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

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 3.4.173.4.1733 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-116804GHSA-cg2g-xh64-v4q7DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modesLow severityFrom 3.4.4 before 3.4.173.4.17
CVE-2026-116803GHSA-mrv2-3pqr-j5jrDOMPurify 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 severityBefore 3.4.173.4.17
CVE-2026-116802GHSA-c6gr-qvv4-5v3fDOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xmlLow severityBefore 3.4.173.4.17
CVE-2026-109345GHSA-6688-9rhm-gjv2DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup, pure HTML reparse executesLow severityBefore 3.4.163.4.16
CVE-2026-109344GHSA-p98j-92pf-mc4pDOMPurify: IN_PLACE: node-removing afterSanitize hook leaves detached subtree event handlers armed, causing DOM XSSLow severityFrom 3.4.13 before 3.4.163.4.16
CVE-2026-75838GHSA-55q2-fjhq-7xh7DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSSModerate severityBefore 3.4.133.4.13
CVE-2026-66010GHSA-c2j3-45gr-mqc4DOMPurify: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements.Low severityBefore 3.4.123.4.12
CVE-2026-65898GHSA-cmwh-pvxp-8882DOMPurify: Permanent `ALLOWED_ATTR` pollution via `setConfig()` bypassing the hook clone-guard (incomplete fix of the 3.4.7 hook-pollution patch)Moderate severityBefore 3.4.113.4.11
CVE-2026-65899GHSA-vxr8-fq34-vvx9DOMPurify: Trusted Types policy survives `clearConfig()` and can poison later `RETURN_TRUSTED_TYPE` outputLow severityBefore 3.4.93.4.9
CVE-2026-65900GHSA-gvmj-g25r-r7wrDOMPurify: SAFE_FOR_TEMPLATES bypass - template expressions survive sanitization inside <template> content when using DOM output modesLow severityFrom 3.0.0 before 3.4.83.4.8
CVE-2026-49978GHSA-rp9w-3fw7-7cwqDOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.contentModerate severityBefore 3.4.73.4.7
CVE-2026-65901GHSA-x4vx-rjvf-j5p4DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objectsLow severityUp to and including 3.4.6No fixed version listed
CVE-2026-65902GHSA-76mc-f452-cxcmDOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`Moderate severityBefore 3.4.73.4.7
CVE-2026-49458GHSA-hpcv-96wg-7vj8DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checksModerate severityBefore 3.4.63.4.6
CVE-2026-49459GHSA-r47g-fvhr-h676DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOMModerate severityBefore 3.4.63.4.6
CVE-2026-47423GHSA-87xg-pxx2-7hvxDOMPurify XSS via selectedcontent re-cloneHigh severityFrom 3.4.4 before 3.4.53.4.5
CVE-2026-41240GHSA-h7mw-gpvr-xq4mDOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)Moderate severityBefore 3.4.03.4.0
CVE-2026-41239GHSA-crv5-9vww-q3g8DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM modeModerate severityFrom 1.0.10 before 3.4.03.4.0
CVE-2026-41238GHSA-v9jr-rg53-9pgpDOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING FallbackModerate severityFrom 3.0.1 before 3.4.03.4.0
CVE-2026-65903GHSA-39q2-94rc-95cpDOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluationModerate severityBefore 3.4.03.4.0
CVE-2026-65912GHSA-cjmm-f4jc-qw8rDOMPurify ADD_ATTR predicate skips URI validationModerate severityBefore 3.3.23.3.2
CVE-2026-65913GHSA-cj63-jhhr-wcxvDOMPurify USE_PROFILES prototype pollution allows event handlersModerate severityBefore 3.3.23.3.2
CVE-2026-65914GHSA-h8r8-wccr-v5f2DOMPurify is vulnerable to mutation-XSS via Re-ContextualizationModerate severityBefore 3.3.23.3.2
CVE-2026-0540GHSA-v2wj-7wpq-c8vvDOMPurify contains a Cross-site Scripting vulnerabilityModerate severityFrom 3.1.3 before 3.3.2; From 2.5.3 before 2.5.92.5.9, 3.3.2
CVE-2025-15599GHSA-v8jm-5vwx-cfxmDOMPurify contains a Cross-site Scripting vulnerabilityModerate severityFrom 3.1.3 before 3.2.7; From 2.5.3 up to and including 2.5.83.2.7
CVE-2025-26791GHSA-vhxf-7vqr-mrjgDOMPurify allows Cross-site Scripting (XSS)Moderate severityBefore 3.2.43.2.4
CVE-2024-48910GHSA-p3vf-v8qc-cwcrDOMPurify vulnerable to tampering by prototype polutionCritical severityBefore 2.4.22.4.2
CVE-2024-47875GHSA-gx9m-whjm-85jfDOMpurify has a nesting-based mXSSHigh severityFrom 3.0.0 before 3.1.3; Before 2.5.02.5.0, 3.1.3
CVE-2024-45801GHSA-mmhx-hmjr-r674DOMPurify allows tampering by prototype pollutionHigh severityFrom 3.0.0 before 3.1.3; Before 2.5.42.5.4, 3.1.3
CVE-2019-25155GHSA-8hgg-xxm5-3873DOMPurify Open Redirect vulnerabilityModerate severityBefore 1.0.111.0.11
CVE-2020-26870GHSA-63q7-h895-m982Cross-site Scripting in dompurifyModerate severityBefore 2.0.172.0.17
GHSA-mjjq-c88q-qhr6Cross-Site Scripting in dompurifyCritical severityBefore 2.0.72.0.7
CVE-2019-16728GHSA-chqj-j4fh-rw7mCross-Site Scripting in dompurifyModerate severityBefore 2.0.32.0.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0