Description
This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory.
Remediation
References
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917
https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd
Related Vulnerabilities
CVE-2020-7763 Vulnerability in npm package phantom-html-to-pdf
CVE-2019-12043 Vulnerability in maven package org.webjars.bower:remarkable
CVE-2022-40705 Vulnerability in maven package soap:soap
CVE-2020-13957 Vulnerability in maven package org.apache.solr:solr-core
CVE-2019-10742 Vulnerability in maven package org.webjars.bower:axios