Description
Versions of the package servst before 2.0.3 are vulnerable to Directory Traversal due to improper sanitization of the filePath variable.
Remediation
References
https://gist.github.com/lirantal/691d02d607753d54856f9335f9a1692f
https://github.com/andrepolischuk/servst/commit/f7cae5d2d7c64c86bc512e1e50614240396ef114
https://security.snyk.io/vuln/SNYK-JS-SERVST-3244896
Related Vulnerabilities
CVE-2021-23369 Vulnerability in npm package handlebars
CVE-2017-16180 Vulnerability in npm package serverabc
CVE-2021-23419 Vulnerability in npm package open-graph
CVE-2021-27644 Vulnerability in maven package org.apache.dolphinscheduler:dolphinscheduler-server
CVE-2022-26112 Vulnerability in maven package org.apache.pinot:pinot-controller