Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-65025— esm.sh CDN service has arbitrary file write via tarslip

Quick assessment

Affected
esm-dev esm.sh
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

esm.sh是esm.sh开源的一个内容分发网络。 esm.sh 136之前版本存在路径遍历漏洞,该漏洞源于NPM包解压过程中存在路径遍历,可能导致任意文件写入。

CVSS 8.2 · High EPSS 0.53% · P43

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-65025

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
esm.sh CDN service has arbitrary file write via tarslip
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
esm.sh 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
esm.sh是esm.sh开源的一个内容分发网络。 esm.sh 136之前版本存在路径遍历漏洞,该漏洞源于NPM包解压过程中存在路径遍历,可能导致任意文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
esm-dev esm.sh < 136 -

II. Public POCs for CVE-2025-65025

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7727 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-65025

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-65025

No comments yet


Leave a comment