path-sanitizer@3.0.0 vulnerabilities

A simple lightweight npm package for sanitizing paths to prevent Path Traversal

  • latest version

    3.1.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    8 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the path-sanitizer 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
    • C
    Directory Traversal

    path-sanitizer is an A simple lightweight npm package for sanitizing paths to prevent Path Traversal

    Affected versions of this package are vulnerable to Directory Traversal due to a bypass in the sanitization method of the sanitizedPath variable.

    How to fix Directory Traversal?

    Upgrade path-sanitizer to version 3.1.0 or higher.

    <3.1.0