{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-59342","published":"2025-09-17T18:15:53.550000Z","last_modified":"2026-06-17T09:45:56.447000Z","status":"Deferred","cvss":{"version":"4.0","score":5.5,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-24"],"cpes":[],"cpes_truncated":false,"vendors":["esm-dev"],"products":["esm-dev/esm.sh"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-g2h5-cvvr-7gmw","ecosystem":"Go","name":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","ranges":[{"introduced":"0","fixed":"136.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2025-3967","ecosystem":"Go","name":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":48,"links":{"html_es":"/es/cve/CVE-2025-59342/","html_en":"/en/cve/CVE-2025-59342/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-59342","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-59342"},"untrusted":{"vendor_name":"esm-dev","product_name":"esm.sh","desc_en":"esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a path-traversal flaw in the handling of the X-Zone-Id HTTP header allows an attacker to cause the application to write files outside the intended storage location. The header value is used to build a filesystem path but is not properly canonicalized or restricted to the application’s storage base directory. As a result, supplying ../ sequences in X-Zone-Id causes files to be written to arbitrary directories. Version 136.1 contains a patch.","affected":[{"untrusted_vendor":"esm-dev","untrusted_product":"esm.sh","versions":[]}],"references":[{"url":"https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L116","tags":[]},{"url":"https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L411","tags":[]},{"url":"https://github.com/esm-dev/esm.sh/commit/833a29f42aeb0acbd7089a71be11dd0a292d3151","tags":[]},{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g2h5-cvvr-7gmw","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}