# GHSA-8r4g-cg4m-x23c: Denial of Service in node-static

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-09-22T18:22:02.000Z
- Modified: 2025-10-03T18:27:42.000Z
- Weaknesses: CWE-248, CWE-400

## 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.

(As written by GitHub Advisory Database.)

## Affected

- node-static (npm): up to 0.7.11

## 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)

## Sources

- GitHub Advisory Database: [GHSA-8r4g-cg4m-x23c](https://github.com/advisories/GHSA-8r4g-cg4m-x23c), CC-BY-4.0, modified 2025-10-03

---

Page: https://cve.day/GHSA-8r4g-cg4m-x23c · Whole record: https://cve.day/GHSA-8r4g-cg4m-x23c.json · Rebuilt by cve.day 2026-11-25T22:56:44.788Z
