> CVE-2025-59342

« BACK_TO_HOME
PUBLISHED
2025-09-17 18:15
MODIFIED
2025-09-18 13:43
EPSS (Prob. Exploit)
3.01%
Top 12.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-28

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-g2h5-cvvr-7gmw MODERATE

esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header

AFFECTED PACKAGES:
GO / github.com/esm-dev/esm.sh
<= 136
Fixed in: 136.1

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/09/2025 18:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:08
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME