Skip to content
OpenAdvisories

Package · Go

github.com/esm-dev/esm.sh

9 known vulnerabilities.

9 results · Feed

  • High 7.5

    esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files

    esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, a Local File Inclusion (LFI) vulnerability exists in the esbuild plugin's handling of the browser field in package.json. An attacker can publish an npm package that c…

  • High 8.7

    esm.sh: Legacy Route Path Traversal Can Lead to RCE

    esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, the legacy router first retrieves a response from legacyServer, parses the incoming request path, and ultimately writes the data to storage via buildStorage.Put. The …

  • High 8.6

    esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route

    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 bas…

  • High 8.7

    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 vulnera…

  • High 7.7

    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 preven…

  • Medium 6.1

    esm.sh CDN service has JS Template Literal Injection in CSS-to-JavaScript

    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 requ…

  • High 8.2

    esm.sh CDN service has arbitrary file write via tarslip

    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 speciall…

  • Medium 5.5
    CVE-2025-59342 Public exploit

    esm.sh writes arbitrary files via path traversal in `X-Zone-Id` header

    esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a path-traversal flaw in the handling of the X-Zone-Id HTTP header allows an attacker to cause the application to write files outside the intended storage locati…

  • High 7.7

    Local File Inclusion in esm.sh

    esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a Local File Inclusion (LFI) issue was identified in the esm.sh service URL handling. An attacker could craft a request that causes the server to read and return…