{"id":"CVE-2022-25931","aliases":["EUVD-2022-7760","GHSA-wcwm-c3mr-pxcr"],"status":"published","title":"Directory Traversal","description":"All versions of package easy-static-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.01413,"percentile":0.72937,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-12-20T05:15:11.587Z","modified":"2026-06-17T04:34:30Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"easy-static-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}]},{"source":"osv","ecosystem":"npm","package":"easy-static-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}]}],"products":[{"vendor":"easy-static-server_project","product":"easy-static-server"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27","tags":["x_transferred","Broken Link","Third Party Advisory"]},{"url":"https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25931","tags":["advisory"]},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js#23L27","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wcwm-c3mr-pxcr"},{"url":"https://github.com/cunjieliu/easyServer","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25931","title":"Directory Traversal","description":"All versions of package easy-static-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-21T01:21:43.83Z","modified":"2025-04-16T18:07:59.15Z","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-7760","description":"All versions of package easy-static-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-21T01:21:43Z","modified":"2025-04-16T18:07: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-wcwm-c3mr-pxcr","title":"easy-static-server vulnerable to Directory Traversal","description":"All versions of package easy-static-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-20T06:30:36Z","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-25931","description":"All versions of package easy-static-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-20T05:15:11.587Z","modified":"2026-06-17T04:34:30.47Z","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-wcwm-c3mr-pxcr","title":"easy-static-server vulnerable to Directory Traversal","description":"All versions of package easy-static-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-20T06:30:36Z","modified":"2023-11-08T04:08:52.507754Z","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:58.401149Z"}]}}
