VDB
CVE-2025-59342
CVE-2025-59342
PUBLISHED
CVSS 5.5 MEDIUM
esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header
EPSS 6.45% · 91.2th percentile
Risk Scores
CVSS 4.0
5.5
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
EPSS Score
6.45%
91.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| github.com | esm-dev/esm.sh | 0 |
| esm-dev | esm.sh | <= 136 |
Exploit Intelligence
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
- Exploit Path Traversal in esm-dev (github-poc)
…and 21 more exploits
Timeline
- Jan 21, 1970 Security Advisory
- Sep 17, 2025 CVE Published
- Sep 17, 2025 PoC Published
- Sep 18, 2025 EPSS Score
- Sep 21, 2025 PoC Published
- Sep 25, 2025 EPSS Score
- Oct 2, 2025 EPSS Score
- Oct 4, 2025 Coalition ESS Score
- Oct 6, 2025 Coalition ESS Score
- Oct 9, 2025 EPSS Score
- Oct 16, 2025 EPSS Score
- Oct 23, 2025 EPSS Score
References
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g2h5-cvvr-7gmw url
- https://github.com/esm-dev/esm.sh/commit/833a29f42aeb0acbd7089a71be11dd0a292d3151 url
- https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L116 url
- https://github.com/esm-dev/esm.sh/blob/main/server/router.go#L411 url
- https://nvd.nist.gov/vuln/detail/CVE-2025-59342 advisory
- https://github.com/esm-dev/esm.sh package
- https://pkg.go.dev/vuln/GO-2025-3967 url