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-2022-31129 Vulnerability in maven package org.webjars.bower:moment
CVE-2020-7656 Vulnerability in maven package org.webjars.npm:jquery
CVE-2023-26140 Vulnerability in npm package @excalidraw/excalidraw
CVE-2021-23342 Vulnerability in maven package org.webjars.npm:docsify
CVE-2021-23337 Vulnerability in maven package org.webjars.bower:lodash