Skip to content
OpenAdvisories
High GHSA-wm77-q74p-5763

Path Traversal in superstatic

Published Jul 27, 2018 · Updated Aug 9, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm superstatic < 5.0.2 5.0.2 GHSA-wm77-q74p-5763

References