# GHSA-qjfh-xc44-rm9x: Path Traversal in file-static-server

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T16:49:43.000Z
- Modified: 2020-08-31T18:43:54.000Z
- Weaknesses: CWE-22

## 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.

(As written by GitHub Advisory Database.)

## Affected

- file-static-server (npm): from 0.0.0

## References

- <https://hackerone.com/reports/310671> (web)
- <https://www.npmjs.com/advisories/1008> (web)

## Sources

- GitHub Advisory Database: [GHSA-qjfh-xc44-rm9x](https://github.com/advisories/GHSA-qjfh-xc44-rm9x), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-qjfh-xc44-rm9x · Whole record: https://cve.day/GHSA-qjfh-xc44-rm9x.json · Rebuilt by cve.day 2026-11-25T22:56:46.303Z
