GHSA-wm77-q74p-5763
HIGHPath Traversal in superstatic
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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | superstatic | < 5.0.2 | 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
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jul 2018)