High severity · published Sep 17, 2025
CVE-2025-59341
Local File Inclusion in esm.sh
7.7
CVSS
1.6%
EPSS
No
On KEV
Description
esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a Local File Inclusion (LFI) issue was identified in the esm.sh service URL handling. An attacker could craft a request that causes the server to read and return files from the host filesystem (or other unintended file sources).
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ES
esm.sh · esm-dev
<= 136 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-59341
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-59341
github.com
https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168
github.com
https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r
More from esm.sh
9.8
CVE-2025-65025
esm.sh CDN service has arbitrary file write via tarslip
9.6
CVE-2025-65026
esm.sh CDN service has JS Template Literal Injection in CSS-to-JavaScript
8.7
CVE-2026-44593
esm.sh: Legacy Route Path Traversal Can Lead to RCE
7.5
CVE-2026-44594
esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files
7.5
CVE-2026-27730
esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
