# CVE-2022-25895: Directory Traversal

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-21T05:15:11.313Z
- Modified: 2026-06-17T04:34:27.467Z
- Also known as: GHSA-pppv-ch8p-rp2w
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- lite-dev-server: before unspecified
- lite-dev-server (npm): up to 3.2.7
- lite-dev-server_project lite-dev-server: no versions given

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718> (exploit, third-party-advisory, web)
- <https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120> (exploit, third-party-advisory, web)
- <https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25895> (advisory)
- <https://github.com/shadowwzw/lite-dev-server> (package)
- <https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js#23L134> (web)

## Sources

- CVE List: [CVE-2022-25895](https://www.cve.org/CVERecord?id=CVE-2022-25895), CVE Terms of Use, modified 2025-04-16
- GitHub Advisory Database: [GHSA-pppv-ch8p-rp2w](https://github.com/advisories/GHSA-pppv-ch8p-rp2w), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25895](https://nvd.nist.gov/vuln/detail/CVE-2022-25895), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25895 · Whole record: https://cve.day/CVE-2022-25895.json · Rebuilt by cve.day 2026-11-25T22:58:17.733Z
