Path Traversal in serve-here.js
High severity
GitHub Reviewed
Published
Jul 5, 2019
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Jun 14, 2019
Published to the GitHub Advisory Database
Jul 5, 2019
Last updated
Jan 9, 2023
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.
References