Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | node-static | <= 0.7.11 | — | GHSA-8r4g-cg4m-x23c |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11149 advisory
- https://github.com/cloudhead/node-static/pull/213 web
- https://github.com/github/advisory-database/pull/6248 web
- https://github.com/cloudhead/node-static package
- https://github.com/cloudhead/node-static/blob/643a528ec7bbd05a59c4030655d94810570afb3f/CHANGES.md#-unreleased web
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-1297183 web