ADVISORIES

Vulnerability

CVE-2025-59342

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.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All openSUSE 3Go 2SUSE 1

Advisories

  • GHSA-g2h5-cvvr-7gmw

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

    Moderate CVE-2025-59342 Go Updated 10 September 2026
  • GO-2025-3967

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

    CVE-2025-59342 Go Updated 3 March 2026
  • SUSE-SU-2025:3799-1

    Security update for govulncheck-vulndb

    CVE-2024-58260CVE-2024-58267CVE-2025-10630CVE-2025-23266 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15576-1

    govulncheck-vulndb-0.0.20250924T192141-1.1 on GA media

    CVE-2025-10630CVE-2025-59341CVE-2025-59342CVE-2025-59345 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References