What’s Vulnerable › Vulnerabilities
CVE-2022-25931: Directory Traversal
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-12-20 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- easy-static-server: all versions
References
- https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9
- https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27
- 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
- https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539
Get alerted when CVE-2022-25931 or the next vulnerability affects your stack