Vulnerability · Published Sep 17, 2025 · Assigned by GitHub_M
CVE-2025-59341Local File Inclusion in esm.sh
High 7.7
In plain English
A high-severity security flaw in esm.sh from esm-dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/esm-dev/esm.sh | no fix listed | GHSA-49pv-gwxp-532r |
| Go | github.com/esm-dev/esm.sh | no fix listed | GO-2025-3962 |
Affected products (as reported)
Weakness: CWE-23 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P