cloudhead/node-static · Security
Denial of Service in node-static
- GHSA ID
- GHSA-8r4g-cg4m-x23c
- Severity
- medium
- Published
- Updated
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.
CWEs
- CWE-248 · Uncaught Exception
- CWE-400 · Uncontrolled Resource Consumption
References
- https://github.com/cloudhead/node-static/pull/213 ↗
- https://github.com/cloudhead/node-static/blob/643a528ec7bbd05a59c4030655d94810570afb3f/CHANGES.md#-unreleased ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-11149 ↗
- https://github.com/github/advisory-database/pull/6248 ↗
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-1297183 ↗
- https://github.com/advisories/GHSA-8r4g-cg4m-x23c ↗