What’s Vulnerable › Vulnerabilities
CVE-2023-26152
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-03 · updated 2026-06-17
- Weakness: CWE-22
Description
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 products
- static-server: through 3.0.0
References
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
Get alerted when CVE-2023-26152 or the next vulnerability affects your stack