Advisory

GHSA-v834-rhv4-65m3

Also known as: CVE-2023-26152

Summary

static-server Path Traversal vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-03 06:30 UTC
Modified
2025-09-26 21:39 UTC

Affected packages and fixes

static-server

npm · All systems

Affected

  • introduced 0, last affected 2.2.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences