All versions of package lite-dev-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url
user input that is passed to the server code.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25895
- https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120
- https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718
- https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js#23L134
- https://github.com/advisories/GHSA-pppv-ch8p-rp2w