serve-handler@1.2.0 vulnerabilities

The routing foundation of `serve`

  • latest version

    6.1.6

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Information Exposure

    serve-handler is a package responsible for routing requests and handling responses.

    Affected versions of this package are vulnerable to Information Exposure. The unlisted property removes the file/folder from directory list but still allows viewing them by visiting their path.

    How to fix Information Exposure?

    Upgrade serve-handler to version 5.0.8 or higher.

    <5.0.8
    • M
    Cross-site Scripting (XSS)

    serve-handler Static file serving and directory listing.

    The module provides a directory listing feature in it's HTTP server which does not sanitise the filename potentially allowing a malicious payload in the filename could be used to invoke an XSS.

    How to fix Cross-site Scripting (XSS)?

    Upgrade serve-handler to version 5.0.3 or higher

    <5.0.3