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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.59% (46th 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-ECHOLATEST-NODEDOMPURIFY-18000880
  • published17 Jul 2026
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

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

How to fix?

Upgrade Echo:latest 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 Echo. See How to fix? for Echo:latest 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