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-2022-41937 Vulnerability in maven package org.xwiki.platform:xwiki-platform-filter-ui
CVE-2015-8857 Vulnerability in npm package uglify-js
CVE-2021-39134 Vulnerability in npm package @npmcli/arborist
CVE-2021-23561 Vulnerability in npm package comb
CVE-2023-49620 Vulnerability in maven package org.apache.dolphinscheduler:dolphinscheduler-api