Skip to content
OpenAdvisories

Package · npm

node-static

2 known vulnerabilities.

2 results · Feed

  • High 7.5

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

    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.

  • Medium —

    Denial of Service in node-static

    All versions of node-static are vulnerable to a Denial of Service. The package fails to catch an exception when user input includes null bytes. This allows attackers to access `http://host/%00` and crash the server.