SSRF in Esm Esm.sh
CVE-2025-50180
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 38.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Esm Esm.sh
- Esm-Dev Esm.sh — versions = 136
Weakness classification (CWE)
References
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-3c9r-837r-qqm4 (Exploit, Patch, Mitigation, Vendor Advisory)
- https://github.com/esm-dev/esm.sh/pull/1149 (Patch, Issue Tracking)
- https://github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0 (Patch)
- https://github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/internal/fetch/fetch.go#L13 (Patch)
- https://github.com/esm-dev/esm.sh/blob/f80ff8c8d58749e77fa964abde468fc61f8bd89e/server/router.go#L511 (Patch)
- https://github.com/esm-dev/esm.sh/releases/tag/v137 (Product, Release Notes)