What’s Vulnerable › Vulnerabilities
CVE-2022-25895: 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-21 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- lite-dev-server: all versions
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
- 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
Get alerted when CVE-2022-25895 or the next vulnerability affects your stack