Affected versions
npmm.static
- Affected versions
- <= 2.2.0
- Fixed version
- Not reported
Exploitation
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.
Links
- https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998
- https://github.com/advisories/GHSA-vcxh-qvgr-9fw9
- https://github.com/ivoputzer/m.static
- https://github.com/ivoputzer/m.static/blob/master/index.js#L19
- https://nvd.nist.gov/vuln/detail/CVE-2023-26126
- https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915
Credits
- lirantal

