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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-dompurify | no fix listed | DEBIAN-CVE-2025-48050 |
| Debian:13 | node-dompurify | no fix listed | DEBIAN-CVE-2025-48050 |
| Debian:14 | node-dompurify | 3.3.2+dfsg-1 | DEBIAN-CVE-2025-48050 |
| Ubuntu:22.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2025-48050 |
| Ubuntu:24.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2025-48050 |
| Ubuntu:25.10 | node-dompurify | no fix listed | UBUNTU-CVE-2025-48050 |
| Ubuntu:26.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2025-48050 |
| Ubuntu:26.10 | node-dompurify | no fix listed | UBUNTU-CVE-2025-48050 |
Affected products (as reported)
Weakness: CWE-24 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N