Description
All versions of the package lite-web-server are vulnerable to Denial of Service (DoS) when an attacker sends an HTTP request and includes control characters that the decodeURI() function is unable to parse.
Remediation
References
https://gist.github.com/lirantal/637520812da06fffb91dd86d02ff6bde
https://github.com/chasyumen/lite-web-server/blob/main/src/WebServer.js%23L274
https://security.snyk.io/vuln/SNYK-JS-LITEWEBSERVER-3153703
Related Vulnerabilities
CVE-2021-22964 Vulnerability in npm package fastify-static
CVE-2022-36077 Vulnerability in npm package electron
CVE-2023-48711 Vulnerability in npm package google-translate-api-browser
CVE-2020-7687 Vulnerability in npm package fast-http
CVE-2023-29511 Vulnerability in maven package org.xwiki.platform:xwiki-platform-administration-ui