# 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.

- Severity: High 7.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-15T00:00:00.000Z
- Modified: 2026-06-17T09:29:04.040Z
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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."

(As written by CVE List.)

## Affected

- Cure53 DOMPurify: up to 3.2.5

## References

- <https://github.com/cure53/DOMPurify/pull/1101> (exploit)
- <https://github.com/odaysec/advisory/blob/main/cure53/DOMPurify/writeup.md>
- <https://github.com/cure53/DOMPurify/commit/6bc6d60e49256f27a4022181b7d8a5b0721fd534>
- <https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-10176060>

## Sources

- CVE List: [CVE-2025-48050](https://www.cve.org/CVERecord?id=CVE-2025-48050), CVE Terms of Use, modified 2025-05-16
- NVD: [CVE-2025-48050](https://nvd.nist.gov/vuln/detail/CVE-2025-48050), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48050 · Whole record: https://cve.day/CVE-2025-48050.json · Rebuilt by cve.day 2026-11-25T22:58:58.085Z
