GitHub Advisoryadvisory · npm
GHSA-qjfh-xc44-rm9x Path Traversal in file-static-server
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- file-static-server
- Severity
- High
- Weaknesses
- CWE-22
- Reviewed
- 2020-08-31
Affected packages
• npm file-static-server: >= 0.0.0 (no fix yet)
Description
All versions of `file-static-server` are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness