Description
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 files from the host filesystem (or other unintended file sources).
Problem types
CWE-23: Relative Path Traversal
Product status
References
github.com/...esm.sh/security/advisories/GHSA-49pv-gwxp-532r
github.com/...39314ff0525d1c3c0e19ea2b16143/server/router.go