CVE-2025-59342
esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header in github.com/esm-dev/esm.sh
EPSS 6.4%
Description
esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header in github.com/esm-dev/esm.sh
How to fix CVE-2025-59342
To remediate CVE-2025-59342, upgrade the affected package to a fixed version below.
- Go/github.com/esm-dev/esm.sh—upgrade to 136.1 or later
- Go/github.com/esm-dev/esm.sh—no fix listed
Is CVE-2025-59342 being exploited?
Moderate — EPSS is 6.4%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 136.1
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |