CVE-2025-59341
HIGH 7.7CVSS 4.0esm.sh has File Inclusion issue
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).
- Published
- 17 Sep 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-23
- Also known as
- GHSA-49pv-gwxp-532rGO-2025-3962
- Sources
- NVDJSONOSV GHSA-49pv-gwxp-532rJSONOSV GO-2025-3962JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/esm-dev/esm.sh | <= 136 | |
| OSV | Go | github.com/esm-dev/esm.sh | all versions |
References
- https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168 · WEB
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-59341 · ADVISORY
- https://github.com/esm-dev/esm.sh/commit/492de92850dd4d350c8b299af541f87541e58a45 · WEB, FIX
- https://github.com/esm-dev/esm.sh · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3962 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2025)