{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/16699?format=json","vulnerability_id":"VCID-d5qz-j3ts-sqgb","summary":"node-static and @nubosoftware/node-static vulnerable to Directory Traversal\nnode-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.","aliases":[{"alias":"CVE-2023-26111"},{"alias":"GHSA-5g97-whc9-8g7j"}],"fixed_packages":[],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/262769?format=json","purl":"pkg:npm/node-static@0.5.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.5.6"},{"url":"http://public2.vulnerablecode.io/api/packages/262770?format=json","purl":"pkg:npm/node-static@0.5.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.5.7"},{"url":"http://public2.vulnerablecode.io/api/packages/262771?format=json","purl":"pkg:npm/node-static@0.5.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.5.8"},{"url":"http://public2.vulnerablecode.io/api/packages/262772?format=json","purl":"pkg:npm/node-static@0.5.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.5.9"},{"url":"http://public2.vulnerablecode.io/api/packages/262773?format=json","purl":"pkg:npm/node-static@0.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/262774?format=json","purl":"pkg:npm/node-static@0.6.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.1"},{"url":"http://public2.vulnerablecode.io/api/packages/262775?format=json","purl":"pkg:npm/node-static@0.6.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.2"},{"url":"http://public2.vulnerablecode.io/api/packages/262776?format=json","purl":"pkg:npm/node-static@0.6.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.3"},{"url":"http://public2.vulnerablecode.io/api/packages/262777?format=json","purl":"pkg:npm/node-static@0.6.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.4"},{"url":"http://public2.vulnerablecode.io/api/packages/262778?format=json","purl":"pkg:npm/node-static@0.6.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.5"},{"url":"http://public2.vulnerablecode.io/api/packages/262779?format=json","purl":"pkg:npm/node-static@0.6.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.6"},{"url":"http://public2.vulnerablecode.io/api/packages/262780?format=json","purl":"pkg:npm/node-static@0.6.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.7"},{"url":"http://public2.vulnerablecode.io/api/packages/262781?format=json","purl":"pkg:npm/node-static@0.6.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.8"},{"url":"http://public2.vulnerablecode.io/api/packages/262782?format=json","purl":"pkg:npm/node-static@0.6.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.6.9"},{"url":"http://public2.vulnerablecode.io/api/packages/262783?format=json","purl":"pkg:npm/node-static@0.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/262784?format=json","purl":"pkg:npm/node-static@0.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.1"},{"url":"http://public2.vulnerablecode.io/api/packages/262785?format=json","purl":"pkg:npm/node-static@0.7.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.2"},{"url":"http://public2.vulnerablecode.io/api/packages/262786?format=json","purl":"pkg:npm/node-static@0.7.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.3"},{"url":"http://public2.vulnerablecode.io/api/packages/262787?format=json","purl":"pkg:npm/node-static@0.7.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.4"},{"url":"http://public2.vulnerablecode.io/api/packages/262788?format=json","purl":"pkg:npm/node-static@0.7.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.5"},{"url":"http://public2.vulnerablecode.io/api/packages/262789?format=json","purl":"pkg:npm/node-static@0.7.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.6"},{"url":"http://public2.vulnerablecode.io/api/packages/262790?format=json","purl":"pkg:npm/node-static@0.7.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.7"},{"url":"http://public2.vulnerablecode.io/api/packages/262791?format=json","purl":"pkg:npm/node-static@0.7.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.8"},{"url":"http://public2.vulnerablecode.io/api/packages/262792?format=json","purl":"pkg:npm/node-static@0.7.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.9"},{"url":"http://public2.vulnerablecode.io/api/packages/262793?format=json","purl":"pkg:npm/node-static@0.7.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.10"},{"url":"http://public2.vulnerablecode.io/api/packages/39723?format=json","purl":"pkg:npm/node-static@0.7.11","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1126-8m5u-5kbg"},{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/node-static@0.7.11"},{"url":"http://public2.vulnerablecode.io/api/packages/56290?format=json","purl":"pkg:npm/%40nubosoftware/node-static@0.7.11","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d5qz-j3ts-sqgb"},{"vulnerability":"VCID-jreh-snyz-7kda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540nubosoftware/node-static@0.7.11"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26111","reference_id":"","reference_type":"","scores":[{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79874","published_at":"2026-04-09T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.7987","published_at":"2026-04-13T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79877","published_at":"2026-04-12T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79849","published_at":"2026-04-04T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79837","published_at":"2026-04-07T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79866","published_at":"2026-04-08T12:55:00Z"},{"value":"0.0132","scoring_system":"epss","scoring_elements":"0.79894","published_at":"2026-04-11T12:55:00Z"},{"value":"0.01328","scoring_system":"epss","scoring_elements":"0.79892","published_at":"2026-04-02T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26111"},{"reference_url":"https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-05T20:29:56Z/"}],"url":"https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc"},{"reference_url":"https://github.com/cloudhead/node-static","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/cloudhead/node-static"},{"reference_url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L163","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L163"},{"reference_url":"https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"},{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-05T20:29:56Z/"}],"url":"https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928"},{"reference_url":"https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-05T20:29:56Z/"}],"url":"https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26111","reference_id":"CVE-2023-26111","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26111"},{"reference_url":"https://github.com/advisories/GHSA-5g97-whc9-8g7j","reference_id":"GHSA-5g97-whc9-8g7j","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-5g97-whc9-8g7j"},{"reference_url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163","reference_id":"node-static.js%23L160-L163","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-05T20:29:56Z/"}],"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-d5qz-j3ts-sqgb"}