CVE-2025-50180: esm.sh · Server-Side Request Forgery (SSRF)
Affects esm.shSource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| esm-devesm.sh | Affected
| Fixed in– |
GitHubesm-dev/esm.shpkg:github/esm-dev/esm.shOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade esm.sh to version 137 or later immediately to apply the official fix that prevents SSRF exploitation.
- Implement strict egress filtering and network segmentation to restrict outbound HTTP requests from CDN or proxy services to only trusted destinations, minimizing the attack surface for SSRF.
- Employ Web Application Firewalls (WAFs) with rules designed to detect and block SSRF patterns, including unusual outbound request destinations or request headers.
- Monitor network traffic logs for anomalous outbound requests originating from esm.sh or related services, focusing on internal IP ranges and metadata service endpoints.
- Conduct regular security assessments and penetration tests targeting SSRF vulnerabilities in third-party services integrated into development workflows.
- Educate development and security teams about SSRF risks and ensure that third-party dependencies like esm.sh are kept up to date.
- Where possible, avoid reliance on external CDNs for internal resource access or sensitive environments, or use private CDNs with strict access controls.
- Review and harden internal web services to require strong authentication and authorization, limiting the impact if SSRF occurs.
Description
esm.sh is a no-build content delivery network (CDN) for web development. In version 136, esm.sh is vulnerable to a full-response SSRF, allowing an attacker to retrieve information from internal websites through the vulnerability. Version 137 fixes the vulnerability.
References
- github.com/esm-dev/esm.sh/security/advisories/GHSA-3c9r-837r-qqm4 (opens in a new tab)
- github.com/esm-dev/esm.sh/pull/1149 (opens in a new tab)
- github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0 (opens in a new tab)
- github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/internal/fetch/fetch.go (opens in a new tab)
- github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/server/router.go (opens in a new tab)
- github.com/esm-dev/esm.sh/releases/tag/v137 (opens in a new tab)