GitHub Advisory Database
GHSA-v834-rhv4-65m3
static-server Path Traversal vulnerability
Details
All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | static-server | All versions up to and including 2.2.1 |