5.5

CVE-2025-59342: esm-dev esm.sh Path Traversal: '../filedir'

CVSS: 5.5v4.0MediumDeferred
AliasesGHSA-g2h5-cvvr-7gmwGO-2025-3967
Published 17-09-2025Last modified 14-01-2026

Vulnerability summary

CVE-2025-59342 is a medium (CVSS 5.5) Path Traversal: '../filedir' vulnerability in esm-dev esm.sh. EPSS estimates a 3.01% chance of exploitation in the next 30 days, higher than 87.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v4.0 (CVE.org)
EPSS score
3.01%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 17-09-2025
    PublishedVulnerability first disclosed.
  2. 14-01-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

3.01%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

-0.03 pp

From 3.03% on 19-09-2026

19-09-202619-10-2026
EPSS score
3.01%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • exploit-databasemultipleUnverified

    esm-dev 136 - Path Traversal

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Esm-dev1 product
Github.com/esm-dev1 product
  • esm.sh< 136.1 | All versions (No fix recorded)

2 vendors · 2 products

References

7 links