{"id":"GHSA-f3vw-587g-r29g","aliases":["GHSA-f3vw-587g-r29g"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in sapper","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:50:38.000Z","modified":"2020-08-31T19:01:20.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.27.11"}],"ecosystem":"npm","package":"sapper","purl":"pkg:npm/sapper","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1494","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f3vw-587g-r29g","url":"https://github.com/advisories/GHSA-f3vw-587g-r29g","licence":"CC-BY-4.0","modified":"2020-08-31T19:01:20.000Z"}],"updatedAt":"2026-11-25T22:56:45.193Z"}