Security mailing lists by PureSourceCode

CVE-2025-65025

CRITICAL 9.8CVSS 3.1

esm.sh CDN service has arbitrary file write via tarslip

esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, the esm.sh CDN service is vulnerable to path traversal during NPM package tarball extraction. An attacker can craft a malicious NPM package containing specially crafted file paths (e.g., package/../../tmp/evil.js). When esm.sh downloads and extracts this package, files may be written to arbitrary locations on the server, escaping the intended extraction directory. This issue has been patched in version 136.

Published
19 Nov 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-h3mw-4f23-gwpwGO-2025-4138
Sources
NVDJSONOSV GHSA-h3mw-4f23-gwpwJSONOSV GO-2025-4138JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD esm esm.sh
cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*
< 136 136
OSV Go github.com/esm-dev/esm.sh < 0.0.0-20251117232647-9d77b88c3207 0.0.0-20251117232647-9d77b88c3207

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Nov 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.