CVEvulnerability
CVE-2022-25895
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-12-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- 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 configurations
• lite-dev-server project lite-dev-server
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120 Exploit, Third Party Advisory
- https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134 Broken Link
- https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718 Exploit, Third Party Advisory
- https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120 Exploit, Third Party Advisory
- https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134 Broken Link
- https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718 Exploit, Third Party Advisory