Cross-site Scripting (XSS) Affecting node-dompurify package, versions <3.4.17+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEDOMPURIFY-21759112
  • published28 Oct 2026
  • disclosed27 Oct 2026

Introduced: 27 Oct 2026

NewCVE-2026-116803  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-dompurify to version 3.4.17+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-dompurify package and not the node-dompurify package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.

CVSS Base Scores

version 3.1