{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-65025","id":"CVE-2025-65025","title":"esm.sh CDN service has arbitrary file write via tarslip","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 lo","descriptionLong":"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":"2025-11-19T17:32:46.835Z","updated":"2026-10-28T02:30:40.189606810Z","reserved":"2025-11-13T15:36:51.682Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["esm-dev esm.sh"],"affectedProducts":[{"vendor":"esm-dev","product":"esm.sh","defaultStatus":null,"versions":[{"version":"< 136","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-h3mw-4f23-gwpw"}],"cwes":["CWE-22"],"aliases":["GHSA-h3mw-4f23-gwpw","GO-2025-4138"],"references":[{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpw","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65025.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65025","tags":["advisory"]},{"url":"https://github.com/esm-dev/esm.sh","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00571,"epssPercentile":0.48018,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-65025","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65025","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-65025","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h3mw-4f23-gwpw","ok":true,"note":"GHSA-h3mw-4f23-gwpw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-65025","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}