{"id":"CVE-2022-25895","aliases":["EUVD-2022-7708","GHSA-pppv-ch8p-rp2w"],"status":"published","title":"Directory Traversal","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01434,"percentile":0.73299,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-12-21T05:15:11.313Z","modified":"2026-06-17T04:34:27Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"lite-dev-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.2.7"}]}]},{"source":"osv","ecosystem":"npm","package":"lite-dev-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.2.7"}]}]}],"products":[{"vendor":"lite-dev-server_project","product":"lite-dev-server"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134","tags":["x_transferred","Broken Link"]},{"url":"https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25895","tags":["advisory"]},{"url":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js#23L134","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pppv-ch8p-rp2w"},{"url":"https://github.com/shadowwzw/lite-dev-server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25895","title":"Directory Traversal","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.","status":"published","published":"2022-12-21T23:14:33.786Z","modified":"2025-04-16T18:32:59.442Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-7708","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.","status":"published","published":"2022-12-21T23:14:33Z","modified":"2025-04-16T18:32:59Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high"}],"updated_at":"2026-11-02T20:52:22.523469Z"}],"ghsa":[{"id":"GHSA-pppv-ch8p-rp2w","title":"lite-dev-server vulnerable to Directory Traversal","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.","status":"published","published":"2022-12-21T06:30:29Z","modified":"2023-01-27T05:06:49Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:21.8171Z"}],"nvd":[{"id":"CVE-2022-25895","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.","status":"published","published":"2022-12-21T05:15:11.313Z","modified":"2026-06-17T04:34:27.467Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:34.031641Z"}],"osv":[{"id":"GHSA-pppv-ch8p-rp2w","title":"lite-dev-server vulnerable to Directory Traversal","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.","status":"published","published":"2022-12-21T06:30:29Z","modified":"2023-11-08T04:08:51.205125Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:53.244788Z"}]}}
