Vulnerability · Published Oct 3, 2023 · Assigned by snyk

CVE-2023-26152

High 7.5

In plain English

A high-severity path traversal in static-server. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.4%top 28.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmstatic-serverno fix listedGHSA-v834-rhv4-65m3

Affected products (as reported)

VendorProductVersions
n/a static-server 0 – before *

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P

References