Skip to content
OpenAdvisories

Package · npm

serve

9 known vulnerabilities.

9 results · Feed

  • Medium —

    Cross-Site Scripting in serve

    Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim's browser through files with names containing malicious code. ## Recomm…

  • High —

    Cross-Site Scripting in serve

    Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package does not encode output, allowing attackers to execute arbitrary JavaScript in the victim's browser if user-supplied input is rendered. ## Recommendation Upgrade to v…

  • High —

    Path Traversal in serve

    Versions of `serve` prior to 10.1.2 are vulnerable to Path Traversal. Explicitly ignored folders can be accessed through relative paths, which allows attackers to access hidden folders and files. ## Recommendation Upgrade to version 10.1.2 or later.

  • High —

    Byass due to validation before canonicalization in serve

    Versions of `serve` before 6.5.2 are vulnerable to the bypass of the ignore functionality. The bypass is possible because validation happens before canonicalization of paths and filenames. Example: Here we have a server that ignores the file test.txt. ``` con…

  • High 7.5

    Path Traversal in serve

    A bug in handling the ignore files and directories feature in serve 6.5.3 allows an attacker to read a file or list the directory that the victim has not allowed access to.

  • High 7.5

    Directory Traversal in serve

    A path traversal vulnerability in serve npm package version 7.0.1 allows the attackers to read content of arbitrary files on the remote server.

  • Medium 6.5

    Directory Traversal in serve

    serve node module before 6.4.9 suffers from a Path Traversal vulnerability due to not handling %2e (.) and %2f (/) and allowing them in paths, which allows a malicious user to view the contents of any directory with known path.

  • Medium 5.3

    vercel/serve allows access to restricted files if filename is URL encoded.

    serve node module suffers from Improper Handling of URL Encoding by permitting access to ignored files if a filename is URL encoded.

  • Medium 5.3

    Information Exposure on Case Insensitive File Systems in serve

    Information exposure through directory listings in serve 6.5.3 allows directory listing and file access even when they have been set to be ignored.