CVE-2025-26791 Affecting node-dompurify package, versions <3.1.7+dfsg+~3.0.5-2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (4th 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-8728522
  • published15 Feb 2025
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

CVE-2025-26791  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-dompurify to version 3.1.7+dfsg+~3.0.5-2 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.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).

CVSS Base Scores

version 3.1