{"id":"GHSA-4vvp-x9h2-x2vf","aliases":["GHSA-4vvp-x9h2-x2vf"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in public","summary":"All versions of `public` are vulnerable to Path Traversal. This vulnerability allows an attacker to access files outside the webroot since it allows symlink navigation in the URL.\n\n\n## Recommendation\n\nNo fix is currently available. Do not use `public` in production or consider using an alternative module until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `public` are vulnerable to Path Traversal. This vulnerability allows an attacker to access files outside the webroot since it allows symlink navigation in the URL.\n\n\n## Recommendation\n\nNo fix is currently available. Do not use `public` in production or consider using an alternative module until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T20:26:39.000Z","modified":"2020-08-31T18:48:53.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"public","purl":"pkg:npm/public","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/593911","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1144","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4vvp-x9h2-x2vf","url":"https://github.com/advisories/GHSA-4vvp-x9h2-x2vf","licence":"CC-BY-4.0","modified":"2020-08-31T18:48:53.000Z"}],"updatedAt":"2026-11-25T22:56:44.068Z"}