CVE-2025-59341 Local File Inclusion in esm.sh
HighCVSS 7.7
EPSS 1.6%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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).
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| esm-dev esm.sh(Go) | <= 136; All versions | after 136 | Partially fixed |
| esm-dev esm.sh | = <= 136 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| esm-dev esm.sh(Go) | <= 136 | No fix listed |
| esm-dev esm.sh(Go) | All versions | No fix listed |
| esm-dev esm.sh | = <= 136 | No fix listed |
References
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168
- pkg.go.dev
- github.com