GHSA-g8m7-qhv7-9h5x
HIGHPath Traversal in serve-here.js
Versions of serve-here.js prior to 1.2.0 are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.
Recommendation
Upgrade to version 1.2.0 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | serve-here | <= 3.2.0 |
References
- https://github.com/vivaxy/here/pull/17 · WEB
- https://github.com/vivaxy/here/commit/298dbab41344dfb7f95f66b1fa7b5cfb436bd4a2 · WEB
- https://hackerone.com/reports/296254 · WEB
- https://hackerone.com/reports/569966 · WEB
- https://www.npmjs.com/advisories/554 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jul 2019)