esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| esm-dev | esm.sh | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Esm-dev | Esmsh |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rg65-45m7-hq57 | esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.387% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Esm-dev
Esm-dev esmsh |
|
| Vendors & Products |
Esm-dev
Esm-dev esmsh |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|