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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-12-01)
- Published: 2025-09-17T17:55:25.827Z
- Modified: 2026-09-10T03:50:28.013Z
- Also known as: GHSA-49pv-gwxp-532r, GO-2025-3962
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- esm-dev esm.sh: <= 136
- github.com/esm-dev/esm.sh (Go): up to 136; all versions

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

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

## Sources

- CVE List: [CVE-2025-59341](https://www.cve.org/CVERecord?id=CVE-2025-59341), CVE Terms of Use, modified 2025-09-17
- GitHub Advisory Database: [GHSA-49pv-gwxp-532r](https://github.com/advisories/GHSA-49pv-gwxp-532r), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3962](https://pkg.go.dev/vuln/GO-2025-3962), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-59341](https://nvd.nist.gov/vuln/detail/CVE-2025-59341), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59341 · Whole record: https://cve.day/CVE-2025-59341.json · Rebuilt by cve.day 2026-11-25T22:59:04.794Z
