Description
All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
References (4)
Core 4
Core References
Exploit, Third Party Advisory
https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc
Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928
Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927
Scores
CVSS v3
7.5
EPSS
0.0132
EPSS Percentile
80.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (4)
\@nubosoftware\/node-static_project/\@nubosoftware\/node-static
node-static_project/node-static
npm/node-static
0npm
nubosoftware/node-static
0npm
Published
Mar 06, 2023
Tracked Since
Feb 18, 2026