CVE-2023-26126
7.5high
m.static Directory Traversal vulnerability
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 0.99% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-vcxh-qvgr-9fw9
Description
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| m.static | before * | CVE List |
| m.static (npm) | up to 2.2.0 | GitHub Advisory Database |
| m.static_project m.static | up to 2.2.0 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.
GitHub Advisory Database
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.
References
| https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915 | exploit, third-party-advisory, web | |
| https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-26126 | advisory | |
| https://github.com/ivoputzer/m.static | package | |
| https://github.com/ivoputzer/m.static/blob/master/index.js#L19 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26126 changed 2025-01-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vcxh-qvgr-9fw9 changed 2025-09-26 | CC-BY-4.0 |
| NVD | CVE-2023-26126 changed 2026-06-17 | Public domain |