CVE-2025-59342
Last modified
CVE-2025-59342 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 2.83% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-59342?
How severe is CVE-2025-59342?
How do I fix CVE-2025-59342?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59336Luanox is a module host for Lua packages. Prior to 0.1.1, a …6.9
- CVE-2025-59337Discourse is an open-source community discussion platform. I…6.8
- CVE-2025-59339The Bastion provides authentication, authorization, traceabi…4.4
- CVE-2025-5934A vulnerability was found in Netgear EX3700 up to 1.0.0.88. …8.8
- CVE-2025-59340jinjava is a Java-based template engine based on django temp…10
- CVE-2025-59341esm.sh is a nobuild content delivery network(CDN) for modern…7.7
- CVE-2025-59343tar-fs provides filesystem bindings for tar-stream. Versions…8.7
- CVE-2025-59344AliasVault is a privacy-first password manager with built-in…7.7
- CVE-2025-59345Dragonfly is an open source P2P-based file distribution and …9.1
- CVE-2025-59346Dragonfly is an open source P2P-based file distribution and …5.3
- CVE-2025-59347Dragonfly is an open source P2P-based file distribution and …6.5
- CVE-2025-59348Dragonfly is an open source P2P-based file distribution and …7.5
Are you affected by CVE-2025-59342?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
