CVE-2022-25848
HIGH 7.5CVSS 3.1static-dev-server vulnerable to path traversal
This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory.
- Published
- 29 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-7fxm-c848-89q8
- Sources
- NVDJSONOSV GHSA-7fxm-c848-89q8JSON
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 | static-dev-server_project | static-dev-servercpe:2.3:a:static-dev-server_project:static-dev-server:1.0.0:*:*:*:*:node.js:*:* |
= 1.0.0 | |
| OSV | npm | static-dev-server | = 1.0.0 |
References
- https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25848 · ADVISORY
- https://github.com/etoah/static-dev-server · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Nov 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Nov 2022)