Inefficient Regular Expression Complexity The advisory has been revoked - it doesn't affect any version of package node-dompurify  (opens in a new tab)


Threat Intelligence

EPSS
0.89% (57th 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-DEBIAN13-NODEDOMPURIFY-7981703
  • published17 Sept 2024
  • disclosed16 Sept 2024

Introduced: 16 Sep 2024

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

Amendment

The Debian security team deemed this advisory irrelevant for Debian:13.

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.

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.