# CVE-2025-59341: Local File Inclusion in esm.sh

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-09-17 · Modified: 2025-09-17
- Aliases: GHSA-49pv-gwxp-532r, GO-2025-3962
- Record: https://cvemate.com/vulnerability/CVE-2025-59341 · JSON: https://cvemate.com/vulnerability/CVE-2025-59341/json

## Description

```text
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).
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) 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
- EPSS: 1.638%, percentile 77.184%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- esm-dev esm.sh: ≤ 136
- github.com/esm-dev esm.sh (Go): ≤ 136 \| All versions (No fix recorded)

## References

- <https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r>
- <https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59341>
- <https://github.com/esm-dev/esm.sh/commit/492de92850dd4d350c8b299af541f87541e58a45>
- <https://github.com/esm-dev/esm.sh>
- <https://pkg.go.dev/vuln/GO-2025-3962>

---

Data as of 2026-12-05T14:01:33.915Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
