Description
hostr is a simple web server that serves up the contents of the current directory. There is a directory traversal vulnerability in hostr 2.3.5 and earlier that allows an attacker to read files outside the current directory by sending `../` in the url path for GET requests.
References (2)
Core 2
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/henrytseng/hostr/issues/8
Third Party Advisory x_refsource_misc
https://nodesecurity.io/advisories/303
Scores
CVSS v3
7.5
EPSS
0.0182
EPSS Percentile
76.2%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (2)
hostr_project/hostr
< 2.3.5
npm/hostr
0 - 2.3.6npm
Published
Jun 04, 2018
Tracked Since
Feb 18, 2026