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


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (34th 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-DEBIAN14-NODEDOMPURIFY-17996985
  • published17 Jul 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

CVE-2026-47423  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:14 node-dompurify to version 3.4.5+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:14 relevant fixed versions and status.

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside <selectedcontent> is returned. This issue is fixed in version 3.4.5.

CVSS Base Scores

version 3.1