Security mailing lists by PureSourceCode

GHSA-g8m7-qhv7-9h5x

HIGH

Path 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.

Published
5 Jul 2019
Last modified
22 Sep 2021
Weakness
CWE-22
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm serve-here <= 3.2.0

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jul 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.