GitHub Advisoryadvisory · npm

GHSA-v834-rhv4-65m3 static-server Path Traversal vulnerability

HIGH Published 2023-10-03 Modified 2025-09-26 Official page ↗
Aliases
CVE-2023-26152
Ecosystem
npm
Packages
static-server
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-10-04

Affected packages

• npm static-server: <= 2.2.1 (no fix yet)

Description

All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the `validPath` function of server.js.

Related

Alias · CVE (1)

  • CVE-2023-26152 All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References