{"id":"GHSA-f3vw-587g-r29g","aliases":[],"status":"published","title":"Path Traversal in sapper","description":"Versions of `sapper` prior to 0.27.11 are vulnerable to Path Traversal. It is possible to access sensitive files on the server through HTTP requests containing URL-encoded `../`.  \n\nYou may test a `sapper` application running in prod mode with `curl -vvv http://localhost:3000/client/750af05c3a69ddc6073a/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/etc/passwd`.\n\n\n## Recommendation\n\nUpgrade to version 0.27.11 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-09-03T15:50:38Z","modified":"2023-01-09T05:04:12Z","fixes":[{"ecosystem":"npm","package":"sapper","fixed_in":["0.27.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sapper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.11"}]}]},{"source":"osv","ecosystem":"npm","package":"sapper","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.27.11"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1494","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f3vw-587g-r29g"}],"sources":{"ghsa":[{"id":"GHSA-f3vw-587g-r29g","title":"Path Traversal in sapper","description":"Versions of `sapper` prior to 0.27.11 are vulnerable to Path Traversal. It is possible to access sensitive files on the server through HTTP requests containing URL-encoded `../`.  \n\nYou may test a `sapper` application running in prod mode with `curl -vvv http://localhost:3000/client/750af05c3a69ddc6073a/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/etc/passwd`.\n\n\n## Recommendation\n\nUpgrade to version 0.27.11 or later.","status":"published","published":"2020-09-03T15:50:38Z","modified":"2023-01-09T05:04:12Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-f3vw-587g-r29g","title":"Path Traversal in sapper","description":"Versions of `sapper` prior to 0.27.11 are vulnerable to Path Traversal. It is possible to access sensitive files on the server through HTTP requests containing URL-encoded `../`.  \n\nYou may test a `sapper` application running in prod mode with `curl -vvv http://localhost:3000/client/750af05c3a69ddc6073a/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/etc/passwd`.\n\n\n## Recommendation\n\nUpgrade to version 0.27.11 or later.","status":"published","published":"2020-09-03T15:50:38Z","modified":"2020-08-31T19:01:20Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:45.639885Z"}]}}
