CVE-2022-25931
HIGH 7.5CVSS 3.1easy-static-server vulnerable to Directory Traversal
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.
- Published
- 20 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-wcwm-c3mr-pxcr
- Sources
- NVDJSONOSV GHSA-wcwm-c3mr-pxcrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | easy-static-server_project | easy-static-servercpe:2.3:a:easy-static-server_project:easy-static-server:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | easy-static-server | <= 0.1.1 |
References
- https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9 · Exploit, Third Party Advisory, WEB
- https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27 · Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25931 · ADVISORY
- https://github.com/cunjieliu/easyServer · PACKAGE
- https://github.com/cunjieliu/easyServer/blob/master/index.js#23L27 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 20 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Dec 2022)