MEDIUM5.3
GHSA-2mp5-m968-gwr2
Path Traversal in http-file-server
Details
All versions of `http-file-server` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.
## Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/http-file-server
Introduced in:
0No fixed version published yet for http-file-server (npm). Pin to a known-safe version or switch to an alternative.