# GHSA-f3vw-587g-r29g: Path Traversal in sapper

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:50:38.000Z
- Modified: 2020-08-31T19:01:20.000Z
- Weaknesses: CWE-22

## 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 `../`.  

You 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`.


## Recommendation

Upgrade to version 0.27.11 or later.

(As written by GitHub Advisory Database.)

## Affected

- sapper (npm): before 0.27.11

## References

- <https://www.npmjs.com/advisories/1494> (web)

## Sources

- GitHub Advisory Database: [GHSA-f3vw-587g-r29g](https://github.com/advisories/GHSA-f3vw-587g-r29g), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-f3vw-587g-r29g · Whole record: https://cve.day/GHSA-f3vw-587g-r29g.json · Rebuilt by cve.day 2026-11-25T22:56:45.193Z
