{"id":"CVE-2022-25936","published":"2023-01-30T05:00:01Z","modified":"2025-03-27T20:13:15Z","title":"Versions of the package servst before 2.0.3 are vulnerable to Directory Traversal due to improper sanitization of the…","vendor":null,"product":null,"tier":"tail","description":{"text":"Versions of the package servst before 2.0.3 are vulnerable to Directory Traversal due to improper sanitization of the filePath variable.\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01377,"percentile":0.72752,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SERVST-3244896","tags":[]},{"url":"https://gist.github.com/lirantal/691d02d607753d54856f9335f9a1692f","tags":[]},{"url":"https://github.com/andrepolischuk/servst/commit/f7cae5d2d7c64c86bc512e1e50614240396ef114","tags":[]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":14.55},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"servst","versions":["< 2.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-27T20:12:49.521538Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"servst","vulnerableRanges":["<2.0.3"],"patched":["2.0.3"],"from":["GHSA-88v8-v46g-6c9w"],"provenance":"source"}],"summary":{"text":"The servst npm package, in versions before 2.0.3, contains a directory traversal flaw because the filePath variable is not properly sanitized. An attacker with network access and no authentication or user interaction, under the default configuration implied by the vector, can use crafted paths to read files outside the intended restricted directory, with a high impact on confidentiality.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:26Z"},"euvd":{"id":"EUVD-2023-0401","exploited":false,"provenance":"source"}}