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-2022-0087 Vulnerability in npm package @keystone-6/auth
CVE-2021-21384 Vulnerability in npm package shescape
CVE-2021-39167 Vulnerability in npm package @openzeppelin/contracts
CVE-2020-7746 Vulnerability in maven package org.webjars.bower:chart.js
CVE-2012-5817 Vulnerability in maven package org.codehaus.xfire:xfire-core