CVE-2026-27730

esm.sh is a no-build content delivery network (CDN) for web development. Versions up to and including 137 have an SSRF vulnerability (CWE-918) in esm.sh’s `/http(s)` fetch route. The service tries to block localhost/internal targets, but the validation is based on hostname string checks and can be bypassed using DNS alias domains. This allows an external requester to make the esm.sh server fetch internal localhost services. As of time of publication, no known patched versions exist.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-02-25 16:23

Updated : 2026-02-27 17:43


NVD link : CVE-2026-27730

Mitre link : CVE-2026-27730

CVE.ORG link : CVE-2026-27730


JSON object : View

Products Affected

esm

  • esm.sh
CWE
CWE-918

Server-Side Request Forgery (SSRF)