VYPR

npm package

serve-lite

pkg:npm/serve-lite

Vulnerabilities (2)

  • CVE-2022-21192Jan 25, 2023
    affected <= 1.1.0

    All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join().

  • CVE-2022-25847Jan 25, 2023
    affected <= 1.1.0

    All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it renders a file listing of all of its contents with links that include the actual file names without any sanitization or output encoding.