CVE-2025-48050 in Cure53 Dompurify
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 ...
Affects 1 product from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-48050 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-245205-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
| Published | 2025-05-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-24: CWE-24
Analysis AI-written, not human-reviewed
CVE-2025-48050 affects DOMPurify versions through 3.2.5 before 6bc6d60, where scripts/server.js does not properly validate the pathname, potentially leading to path traversal issues. The supplier disputes the significance, stating it affects a development helper script that must be manually started.
An attacker could exploit this vulnerability by manipulating the pathname input to scripts/server.js, potentially leading to unauthorized file access or manipulation. However, the script is part of a development environment and must be manually started, reducing the attack surface.
Questions
What is CVE-2025-48050?
CVE-2025-48050 affects DOMPurify versions through 3.2.5 before 6bc6d60, where scripts/server.js does not properly validate the pathname, potentially leading to path traversal issues. The supplier disputes the significance, stating it affects a development helper script that must be manually started.
What is the CVSS score for CVE-2025-48050?
CVE-2025-48050 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N. EPSS: 0.7%.
Is CVE-2025-48050 actively exploited?
No confirmed active exploitation of CVE-2025-48050 as of 2026-09-25.
How do I remediate CVE-2025-48050?
Priority: MEDIUM.
What systems are affected by CVE-2025-48050?
CVE-2025-48050 affects Cure53 Dompurify; Script; Scripts.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cure53","product":"Dompurify","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.