CVE-2022-25895 json
Directory Traversal
published 3y ago modified 4mo ago also GHSA-pppv-ch8p-rp2w , EUVD-2022-7708
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2022-25895 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | lite-dev-server | <=3.2.7 |
no fix listed |
Affected products
- n/a lite-dev-server
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
security.snyk.io
/vuln/SNYK-JS-LITEDEVSERVER-3153718
web, exploit, third-party-advisory
-
gist.github.com
/lirantal/0f8a48c3f5ac581ce73123abe9f7f120
web, exploit, third-party-advisory
-
github.com
/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134
broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25895
advisory
-
github.com
/shadowwzw/lite-dev-server
package
-
github.com
/shadowwzw/lite-dev-server/blob/master/src/server.js#23L134
web
Sources
- CVE List CVE-2022-25895
- GitHub Advisory GHSA-pppv-ch8p-rp2w
- NVD CVE-2022-25895
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.