cloudhead/node-static · Security

node-static and @nubosoftware/node-static vulnerable to Directory Traversal

GHSA ID
GHSA-5g97-whc9-8g7j
CVE ID
CVE-2023-26111
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Description

node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.

CWEs

References