{"cve":"CVE-2025-65025","nvd":{"published":"2025-11-19T18:15:49.840","modified":"2026-10-18T20:10:00.110","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16","https://github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpw","https://github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpw"],"products":["esm:esm.sh"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-65025","score":0.00571,"percentile":0.46957,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-h3mw-4f23-gwpw","url":"https://osv.dev/vulnerability/GHSA-h3mw-4f23-gwpw","summary":"esm.sh CDN service has arbitrary file write via tarslip","modified":"2025-11-27T09:00:45.513210Z","packages":[{"ecosystem":"Go","name":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","ranges":["<0.0.0-20251117232647-9d77b88c3207"],"fixed":["0.0.0-20251117232647-9d77b88c3207"]}]},{"id":"GO-2025-4138","url":"https://osv.dev/vulnerability/GO-2025-4138","summary":"esm.sh CDN service has arbitrary file write via tarslip in github.com/esm-dev/esm.sh","modified":"2026-03-03T04:57:38.981150Z","packages":[{"ecosystem":"Go","name":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","ranges":["<0.0.0-20251117232647-9d77b88c3207"],"fixed":["0.0.0-20251117232647-9d77b88c3207"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}