Cross-site Scripting (XSS) Affecting node-dompurify package, versions <2.4.1+dfsg+~2.4.0-2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (18th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-NODEDOMPURIFY-8183061
  • published12 Oct 2024
  • disclosed11 Oct 2024

Introduced: 11 Oct 2024

CVE-2024-47875  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:12 node-dompurify to version 2.4.1+dfsg+~2.4.0-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:12 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 nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

CVSS Scores

version 3.1