What’s Vulnerable › Vulnerabilities
CVE-2025-59341: Local File Inclusion in esm.sh
- Severity: high (CVSS 7.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-09-17 · updated 2026-06-17
- Weakness: CWE-23
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).
Affected products
- esm-dev esm.sh: through 136
References
- https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r
Get alerted when CVE-2025-59341 or the next vulnerability affects your stack