Description
general-file-server node module suffers from a Path Traversal vulnerability due to lack of validation of currpath, which allows a malicious user to read content of any file with known path.
Remediation
References
https://hackerone.com/reports/310943
Related Vulnerabilities
CVE-2017-16037 Vulnerability in npm package gomeplus-h5-proxy
CVE-2020-7786 Vulnerability in npm package macfromip
CVE-2021-23343 Vulnerability in npm package path-parse
CVE-2022-36010 Vulnerability in npm package react-editable-json-tree
CVE-2022-35942 Vulnerability in npm package loopback-connector-postgresql