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-2020-13973 Vulnerability in maven package com.mikesamuel:json-sanitizer
CVE-2020-28502 Vulnerability in maven package org.webjars.npm:xmlhttprequest-ssl
CVE-2020-28443 Vulnerability in npm package sonar-wrapper
CVE-2014-6394 Vulnerability in maven package org.webjars.npm:send
CVE-2023-46120 Vulnerability in maven package com.rabbitmq:amqp-client