{"id":"GHSA-v834-rhv4-65m3","summary":"static-server Path Traversal vulnerability","details":"All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the `validPath` function of server.js.","aliases":["CVE-2023-26152"],"modified":"2025-09-26T21:39:29Z","published":"2023-10-03T06:30:26Z","database_specific":{"nvd_published_at":"2023-10-03T05:15:50Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-10-04T14:43:33Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152"},{"type":"WEB","url":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d"},{"type":"PACKAGE","url":"https://github.com/nbluis/static-server"},{"type":"WEB","url":"https://github.com/nbluis/static-server/blob/master/server.js#L218-L223"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341"}],"affected":[{"package":{"name":"static-server","ecosystem":"npm","purl":"pkg:npm/static-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.2.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-v834-rhv4-65m3/GHSA-v834-rhv4-65m3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}