Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. m.static
  4. ›
  5. CVE-2023-26126

CVE-2023-26126: m.static Directory Traversal vulnerability

May 10, 2023 (updated November 7, 2023)

All versions of the package m.static is vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.

References

  • gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998
  • github.com/advisories/GHSA-vcxh-qvgr-9fw9
  • github.com/ivoputzer/m.static/blob/master/index.js
  • nvd.nist.gov/vuln/detail/CVE-2023-26126
  • security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915

Code Behaviors & Features

Detect and mitigate CVE-2023-26126 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/m.static/CVE-2023-26126.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.