Advisory

GHSA-5g97-whc9-8g7j

Also known as: CVE-2023-26111

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

node-static

npm · All systems

Affected

  • introduced 0, last affected 0.7.11 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

@nubosoftware/node-static

npm · All systems

Affected

  • introduced 0, last affected 0.7.11 (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