CVE-2025-59341
esm.sh is a nobuild content delivery network(CDN) for modern web …
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).
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L
- github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r
- nvd.nist.gov/vuln/detail/CVE-2025-59341
- github.com/esm-dev/esm.sh/commit/492de92850dd4d350c8b299af541f87541e58a45
- pkg.go.dev/vuln/GO-2025-3962
- github.com/advisories/GHSA-49pv-gwxp-532r
- nvd.nist.gov/vuln/detail/CVE-2025-59341
- cve.org/CVERecord?id=CVE-2025-59341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.