{"id":"GHSA-qjfh-xc44-rm9x","aliases":["GHSA-qjfh-xc44-rm9x"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in file-static-server","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T16:49:43.000Z","modified":"2020-08-31T18:43:54.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"file-static-server","purl":"pkg:npm/file-static-server","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/310671","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1008","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qjfh-xc44-rm9x","url":"https://github.com/advisories/GHSA-qjfh-xc44-rm9x","licence":"CC-BY-4.0","modified":"2020-08-31T18:43:54.000Z"}],"updatedAt":"2026-11-25T22:56:46.303Z"}