GHSA-5g97-whc9-8g7jHighCVSS 7.5

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

Published
March 6, 2023
Last Modified
September 26, 2025

🔗 CVE IDs covered (1)

📋 Description

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 products2

  • npm/node-static:<= 0.7.11
  • npm/@nubosoftware/node-static:<= 0.7.11

🔗 References (6)