CVE-2023-26152
JSON

7.5high

static-server Path Traversal vulnerability

Severity
7.5high CVSS:3.1 by snyk
Exploit likelihood
1.36% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-v834-rhv4-65m3

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.

Affected

Product or packageVersionsReported by
static-serverbefore *CVE List
static-server (npm)up to 2.2.1GitHub Advisory Database
nbluis static-serverup to 3.0.0NVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Todas las versiones del paquete static-server son vulnerables a Directory Traversal debido a una sanitización de entrada inadecuada pasada a través de la función validPath de server.js.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-26152 changed 2024-09-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-v834-rhv4-65m3 changed 2025-09-26CC-BY-4.0
NVDCVE-2023-26152 changed 2026-06-17Public domain