GHSA-5G97-WHC9-8G7J
Vulnerability from github – Published: 2023-03-06 06:30 – Updated: 2025-09-26 21:58
VLAI?
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 ?
7.5 (High)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "node-static"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.7.11"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@nubosoftware/node-static"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.7.11"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-26111"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2023-03-07T20:28:43Z",
"nvd_published_at": "2023-03-06T05:15:00Z",
"severity": "HIGH"
},
"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.",
"id": "GHSA-5g97-whc9-8g7j",
"modified": "2025-09-26T21:58:15Z",
"published": "2023-03-06T06:30:18Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26111"
},
{
"type": "WEB",
"url": "https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc"
},
{
"type": "PACKAGE",
"url": "https://github.com/cloudhead/node-static"
},
{
"type": "WEB",
"url": "https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L163"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "node-static and @nubosoftware/node-static vulnerable to Directory Traversal"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…