{"id":"GHSA-qjfh-xc44-rm9x","aliases":[],"status":"published","title":"Path Traversal in file-static-server","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. \n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2020-09-03T16:49:43Z","modified":"2023-01-09T05:04:07Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"file-static-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"file-static-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://hackerone.com/reports/310671","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1008","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qjfh-xc44-rm9x"}],"sources":{"ghsa":[{"id":"GHSA-qjfh-xc44-rm9x","title":"Path Traversal in file-static-server","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. \n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.\n","status":"published","published":"2020-09-03T16:49:43Z","modified":"2023-01-09T05:04:07Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-qjfh-xc44-rm9x","title":"Path Traversal in file-static-server","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. \n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.\n","status":"published","published":"2020-09-03T16:49:43Z","modified":"2020-08-31T18:43:54Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:54.760124Z"}]}}
