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-2022-21670 Vulnerability in npm package markdown-it
CVE-2021-32827 Vulnerability in maven package org.mock-server:mockserver-core
CVE-2021-32853 Vulnerability in npm package erxes
CVE-2022-45401 Vulnerability in maven package org.jenkinsci.plugins:associated-files
CVE-2021-23648 Vulnerability in npm package @braintree/sanitize-url