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-2019-19899 Vulnerability in maven package io.pebbletemplates:pebble
CVE-2018-16487 Vulnerability in npm package @sailshq/lodash
CVE-2022-25948 Vulnerability in npm package liquidjs
CVE-2021-37533 Vulnerability in maven package commons-net:commons-net
CVE-2016-5005 Vulnerability in maven package org.apache.archiva:archiva-webapp