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.
Remediation
References
https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998
https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915
Related Vulnerabilities
CVE-2022-21164 Vulnerability in npm package node-lmdb
CVE-2020-28458 Vulnerability in maven package org.webjars.bower:datatables.net
CVE-2020-13935 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2018-20594 Vulnerability in maven package org.hswebframework.web:hsweb-system-workflow-local
CVE-2023-29210 Vulnerability in maven package org.xwiki.platform:xwiki-platform-notifications-ui