NetSight
high7.5

CVE-2023-26111

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

Impact

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

EcosystemPackageAffectedFixed in
npmnode-static<= 0.7.11none recorded
npm@nubosoftware/node-static<= 0.7.11none recorded

Affected products

VendorProductAffected versions
\@Nubosoftware\/Node-Static Project\@Nubosoftware\/Node-Static
All versions
Node-Static ProjectNode-Static
All versions

Weakness classification

References