ADVISORIES

GitHub Advisory Database

GHSA-5g97-whc9-8g7j

node-static and @nubosoftware/node-static vulnerable to Directory Traversal

High No fix available CVE-2023-26111

Details

node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.

Affected packages

EcosystemPackageAffected versions
npmnode-static
All versions up to and including 0.7.11
npm@nubosoftware/node-static
All versions up to and including 0.7.11

References