{"id":"CVE-2022-25931","aliases":["CVE-2022-25931","GHSA-wcwm-c3mr-pxcr"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete easy-static-server son vulnerables a Directory Traversal debido a la falta de sanitización de entrada y al uso de entornos sandbox para la entrada del usuario req.url que se pasa al código del servidor.","source":"nvd"}],"published":"2022-12-20T05:15:11.587Z","modified":"2026-06-17T04:34:30.470Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"easy-static-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.1"}],"ecosystem":"npm","package":"easy-static-server","purl":"pkg:npm/easy-static-server","source":"ghsa"},{"ranges":[],"vendor":"easy-static-server_project","product":"easy-static-server","cpe":"cpe:2.3:a:easy-static-server_project:easy-static-server:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27","tags":["broken-link","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25931","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cunjieliu/easyServer","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js#23L27","tags":["web"],"sources":["ghsa"]}],"credits":["Liran Tal","Snyk"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-16T18:07:43.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25931","url":"https://www.cve.org/CVERecord?id=CVE-2022-25931","licence":"CVE Terms of Use","modified":"2025-04-16T18:07:59.150Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wcwm-c3mr-pxcr","url":"https://github.com/advisories/GHSA-wcwm-c3mr-pxcr","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:52.507Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25931","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25931","licence":"Public domain","modified":"2026-06-17T04:34:30.470Z"}],"updatedAt":"2026-11-25T22:58:17.704Z","epss":{"score":0.01351,"percentile":0.72337,"date":"2026-12-01T12:00:22.000Z"}}