Approved changes feed: RSS · Atom

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

part: a version: * update: *

VendorEsm (3b6e7ed6-633a-52f1-ac37-4c23ae4afdd0)
ProductEsm.Sh (a1866c77-b700-5112-a62e-7020209ad470)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/esm-dev/esm.sh purl2cpe 2026-06-01 10:14:07.114573
pkg:golang/github.com/esm-dev/esm.sh purl2cpe 2026-06-01 10:14:07.114575

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-27730 vulnerable 2026-06-08 07:53:22.913816 esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
HIGH (8.6)
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.
Published: 2026-02-25T15:37:01.753Z
Updated: 2026-02-25T20:32:05.079Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-23644 vulnerable 2026-06-08 07:51:15.701667 esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages
esm.sh is a no-build content delivery network (CDN) for web development. Prior to Go pseeudoversion 0.0.0-20260116051925-c62ab83c589e, the software has a path traversal vulnerability due to an incomplete fix. `path.Clean` normalizes a path but does not prevent absolute paths in a malicious tar file. Commit https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16, corresponding to pseudoversion 0.0.0-20260116051925-c62ab83c589e, fixes this issue.
Published: 2026-01-18T22:49:29.676Z
Updated: 2026-01-20T20:06:58.947Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-65026 vulnerable 2026-06-08 07:39:20.645006 esm.sh CDN service has JS Template Literal Injection in CSS-to-JavaScript
MEDIUM (6.1)
esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, The esm.sh CDN service contains a Template Literal Injection vulnerability (CWE-94) in its CSS-to-JavaScript module conversion feature. When a CSS file is requested with the ?module query parameter, esm.sh converts it to a JavaScript module by embedding the CSS content directly into a template literal without proper sanitization. An attacker can inject malicious JavaScript code using ${...} expressions within CSS files, which will execute when the module is imported by victim applications. This enables Cross-Site Scripting (XSS) in browsers and Remote Code Execution (RCE) in Electron applications. This issue has been patched in version 136.
Published: 2025-11-19T17:33:11.469Z
Updated: 2025-11-20T14:19:17.852Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-65025 vulnerable 2026-06-08 07:39:20.644560 esm.sh CDN service has arbitrary file write via tarslip
HIGH (8.2)
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.
Published: 2025-11-19T17:32:46.835Z
Updated: 2025-11-20T14:09:44.277Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-50180 vulnerable 2026-06-08 07:31:10.852432 esm.sh is vulnerable to full-response SSRF
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.
Published: 2026-02-25T15:32:56.449Z
Updated: 2026-02-27T18:22:28.728Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.