Go/github.com/esm-dev/esm.sh CVE-2025-59342: medium 5.5, EPSS 3.15%
esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header
Action: Upgrade github.com/esm-dev/esm.sh to 136.1 or later.
go get github.com/esm-dev/esm.sh@v136.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 136.1 | - |
Fixed versions
| 136.1 |
Sources
- osv: GHSA-g2h5-cvvr-7gmw
- nvd: CVE-2025-59342
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g2h5-cvvr-7gmw
- https://github.com/esm-dev/esm.sh/commit/833a29f42aeb0acbd7089a71be11dd0a292d3151
- https://github.com/esm-dev/esm.sh
- https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L116
- https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L411
- https://pkg.go.dev/vuln/GO-2025-3967
CVE-2025-59342 · published · modified · JSON