CVE-2025-48050
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."
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-dompurify | Fix pending | UBUNTU-CVE-2025-48050 | |
| Ubuntu 26.04 | node-dompurify | Under investigation | UBUNTU-CVE-2025-48050 | |
| Ubuntu 25.10 | node-dompurify | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-48050 | |
| Ubuntu 24.04 | node-dompurify | Under investigation | UBUNTU-CVE-2025-48050 | |
| Ubuntu 22.04 | node-dompurify | Under investigation | UBUNTU-CVE-2025-48050 | |
| Debian 14 | node-dompurify | Fixed | 3.3.2+dfsg-1 | DEBIAN-CVE-2025-48050 |
| Debian 13 | node-dompurify | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-48050 | |
| Debian 12 | node-dompurify | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-48050 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cure53 DOMPurify: affected: up to 3.2.5
References
- https://github.com/odaysec/advisory/blob/main/cure53/DOMPurify/writeup.md
- https://github.com/cure53/DOMPurify/pull/1101
- https://github.com/cure53/DOMPurify/commit/6bc6d60e49256f27a4022181b7d8a5b0721fd534
- https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-10176060
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.