CVEvulnerability
CVE-2023-26111
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-03-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
Affected configurations
• \@nubosoftware\/node-static project \@nubosoftware\/node-static
• node-static project node-static
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc Exploit, Third Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 Broken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 Exploit, Third Party Advisory
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc Exploit, Third Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 Broken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 Exploit, Third Party Advisory