Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting node-dompurify package, versions <2.4.1+dfsg+~2.4.0-2+deb12u1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.15% (64th 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-18000878
  • published17 Jul 2026
  • disclosed31 Oct 2024

Introduced: 31 Oct 2024

CVE-2024-48910  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-dompurify to version 2.4.1+dfsg+~2.4.0-2+deb12u1 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 is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.

CVSS Base Scores

version 3.1