Description
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.
Remediation
References
https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120
https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134
https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718
Related Vulnerabilities
CVE-2018-3711 Vulnerability in npm package fastify
CVE-2022-0122 Vulnerability in npm package node-forge
CVE-2020-17532 Vulnerability in maven package org.apache.servicecomb:foundation-config
CVE-2022-25890 Vulnerability in npm package wifey
CVE-2021-21234 Vulnerability in maven package eu.hinsch:spring-boot-actuator-logview