{"schema_version":"1.7.3","id":"GO-2025-3967","published":"2025-09-24T19:21:37Z","modified":"2026-03-03T04:56:55.361146Z","aliases":["CVE-2025-59342","GHSA-g2h5-cvvr-7gmw"],"summary":"esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header in github.com/esm-dev/esm.sh","details":"esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header in github.com/esm-dev/esm.sh","affected":[{"package":{"name":"github.com/esm-dev/esm.sh","ecosystem":"Go","purl":"pkg:golang/github.com/esm-dev/esm.sh"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3967.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g2h5-cvvr-7gmw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59342"},{"type":"FIX","url":"https://github.com/esm-dev/esm.sh/commit/833a29f42aeb0acbd7089a71be11dd0a292d3151"},{"type":"WEB","url":"https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L116"},{"type":"WEB","url":"https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L411"}],"database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2025-3967"}}