node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in…
CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for node-static (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does node-static have known vulnerabilities?
Yes. CyberXYZ records 2 known vulnerabilities for node-static (npm), the worst rated HIGH. They are GHSA-5g97-whc9-8g7j, GHSA-8r4g-cg4m-x23c.
How do I check node-static before installing?
Search node-static in CyberXYZ Check at https://cyberxyz.io/check?q=node-static. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 08:27 UTC. The most recent advisory here was published 2023-03-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.