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-2021-3795 Vulnerability in npm package semver-regex
CVE-2023-27087 Vulnerability in maven package com.xuxueli:xxl-job
CVE-2020-7663 Vulnerability in maven package org.webjars.npm:websocket-extensions
CVE-2021-23431 Vulnerability in npm package joplin
CVE-2021-23358 Vulnerability in maven package org.webjars.bowergithub.jashkenas:underscore