Vulnerability · Published May 15, 2025 · Assigned by mitre

CVE-2025-48050

High 7.5

In plain English

A high-severity security flaw in DOMPurify from Cure53. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 56.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

In DOMPurify through 3.2.5 before 6bc6d60, scripts/server.js does not ensure that a pathname is located under the current working directory. NOTE: the Supplier disputes the significance of this report because the "Uncontrolled data used in path expression" occurs "in a development helper script which starts a local web server if needed and must be manually started."

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-dompurifyno fix listedDEBIAN-CVE-2025-48050
Debian:13node-dompurifyno fix listedDEBIAN-CVE-2025-48050
Debian:14node-dompurify3.3.2+dfsg-1DEBIAN-CVE-2025-48050
Ubuntu:22.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-48050
Ubuntu:24.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-48050
Ubuntu:25.10node-dompurifyno fix listedUBUNTU-CVE-2025-48050
Ubuntu:26.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-48050
Ubuntu:26.10node-dompurifyno fix listedUBUNTU-CVE-2025-48050

Affected products (as reported)

VendorProductVersions
Cure53 DOMPurify 0 – through 3.2.5

Weakness: CWE-24 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

References