Vulnerability · Published Feb 25, 2026 · Assigned by GitHub_M
CVE-2025-50180esm.sh is vulnerable to full-response SSRF
High 8.7
In plain English
A high-severity server-side request forgery in esm.sh from esm-dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.4%top 61.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/esm-dev/esm.sh | 0.0.0-20250616164159-0593516c4cfa | GO-2026-4545 |
| Go | github.com/esm-dev/esm.sh | 0.0.0-20250616164159-0593516c4cfa | GHSA-3c9r-837r-qqm4 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-3c9r-837r-qqm4 x_refsource_CONFIRM
- https://github.com/esm-dev/esm.sh/pull/1149 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/internal/fetch/fetch.go#L13 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/server/router.go#L511 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/releases/tag/v137 x_refsource_MISC