serve-here.js@1.1.0

Serve static files over HTTP

  • latest version

    1.2.0

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    7 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the serve-here.js package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Directory Traversal

    serve-here.js is a package that serves static files over HTTP.

    Affected versions of this package are vulnerable to Directory Traversal. The package accepts pathnames of urls and adds it to the web root without sanitization. This means that by inputing ../ to the pathname it will add it to web root and allows you to traverse to any folder from root.

    How to fix Directory Traversal?

    Upgrade serve-here.js to version 1.2.0 or higher.

    <1.2.0