Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-static
  4. ›
  5. GHSA-8r4g-cg4m-x23c

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

September 22, 2021 (updated October 3, 2025)

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.

References

  • github.com/advisories/GHSA-8r4g-cg4m-x23c
  • github.com/cloudhead/node-static
  • github.com/cloudhead/node-static/blob/643a528ec7bbd05a59c4030655d94810570afb3f/CHANGES.md
  • github.com/cloudhead/node-static/pull/213
  • github.com/github/advisory-database/pull/6248
  • nvd.nist.gov/vuln/detail/CVE-2025-11149
  • security.snyk.io/vuln/SNYK-JS-NODESTATIC-1297183

Code Behaviors & Features

Detect and mitigate GHSA-8r4g-cg4m-x23c with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.7.11

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-248: Uncaught Exception
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/node-static/GHSA-8r4g-cg4m-x23c.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.