Description
All versions of package easy-static-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://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539
https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9
https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27
Related Vulnerabilities
CVE-2023-26118 Vulnerability in npm package angular
CVE-2020-7646 Vulnerability in npm package curlrequest
CVE-2022-37223 Vulnerability in maven package com.jflyfox:jflyfox_jfinal
CVE-2023-25569 Vulnerability in maven package com.ctrip.framework.apollo:apollo
CVE-2020-8131 Vulnerability in maven package org.webjars.npm:yarn