# GHSA-wm77-q74p-5763: Path Traversal in superstatic

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2018-07-27T17:06:03.000Z
- Modified: 2021-08-09T22:21:02.000Z
- Weaknesses: CWE-177

## Description

Affected of `superstatic` are vulnerable to path traversal when used on Windows. 

Additionally, it is vulnerable to path traversal on other platforms combined with certain Node.js versions which erroneously normalize `\\` to `/` in paths on all platforms (a known example being Node.js v9.9.0).


## Recommendation

Update to version 5.0.2 or later.

(As written by GitHub Advisory Database.)

## Affected

- superstatic (npm): before 5.0.2

## References

- <https://github.com/firebase/superstatic/pull/255> (web)
- <https://github.com/firebase/superstatic/commit/e396ff62f588732989137d6c40d46b310e51ef2b> (web)
- <https://github.com/firebase/superstatic/blob/v5.0.1/lib/providers/fs.js#L71> (web)
- <https://www.npmjs.com/advisories/652> (web)

## Sources

- GitHub Advisory Database: [GHSA-wm77-q74p-5763](https://github.com/advisories/GHSA-wm77-q74p-5763), CC-BY-4.0, modified 2021-08-09

---

Page: https://cve.day/GHSA-wm77-q74p-5763 · Whole record: https://cve.day/GHSA-wm77-q74p-5763.json · Rebuilt by cve.day 2026-11-25T22:56:46.864Z
