esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files
esm-dev esm.sh
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/esm-dev/esm.sh Go |
|
|
Original description
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 causes the server to read and return arbitrary files from the host filesystem during the build process.
From the CVE record · GitHub_M