# CVE-2022-25848: 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`
- 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.22%, higher than 69% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-11-29T16:50:11.226Z
- Modified: 2026-06-17T04:34:23.053Z
- Also known as: GHSA-7fxm-c848-89q8
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- static-dev-server: before unspecified
- static-dev-server (npm): 1.0.0
- static-dev-server_project static-dev-server: 1.0.0

## 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`
- 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-STATICDEVSERVER-3149917> (exploit, third-party-advisory, web)
- <https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25848> (advisory)
- <https://github.com/etoah/static-dev-server> (package)

## Sources

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

---

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