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://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917
Related Vulnerabilities
CVE-2021-40663 Vulnerability in npm package deep.assign
CVE-2020-2279 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2021-33360 Vulnerability in npm package @stoqey/gnuplot
CVE-2023-37964 Vulnerability in maven package org.jenkins-ci.plugins:elasticbox
CVE-2020-9480 Vulnerability in maven package org.apache.spark:spark-network-common_2.12