CVE-2025-65025

CVE-2025-65025 is a high-severity vulnerability in Esm Esm.sh with a CVSS 3.x base score of 8.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

Description

esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, the esm.sh CDN service is vulnerable to path traversal during NPM package tarball extraction. An attacker can craft a malicious NPM package containing specially crafted file paths (e.g., package/../../tmp/evil.js). When esm.sh downloads and extracts this package, files may be written to arbitrary locations on the server, escaping the intended extraction directory. This issue has been patched in version 136.

Frequently asked questions

What is CVE-2025-65025?
esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, the esm.sh CDN service is vulnerable to path traversal during NPM package tarball extraction. An attacker can craft a malicious NPM package containing specially crafted file paths (e.g., package/../../tmp/evil.js). When esm.sh downloads and extracts this package, files may be written to arbitrary locations on the server, escaping the intended extraction directory. This issue has been patched in version 136.
How severe is CVE-2025-65025?
CVE-2025-65025 has a CVSS 3.x base score of 8.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity high, and availability none.
Is CVE-2025-65025 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-65025?
CVE-2025-65025 affects Esm Esm.sh. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-65025?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-65025 have an EU (EUVD) identifier?
Yes. CVE-2025-65025 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-198181.
When was CVE-2025-65025 published?
CVE-2025-65025 was published on 2025-11-19 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Esm Esm.sh

All CVEs affecting Esm Esm.sh →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →