Skip to content
OpenAdvisories
Medium GHSA-8r4g-cg4m-x23c

Denial of Service in node-static

Published Sep 22, 2021 · Updated Oct 3, 2025 · Assigned by GHSA

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

EcosystemPackageAffectedFixedRecord
npm node-static <= 0.7.11 — GHSA-8r4g-cg4m-x23c

References