marked-tree@0.8.0

development markdown viewer

  • latest version

    0.8.1

  • first published

    8 years ago

  • latest version published

    8 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the marked-tree 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

    marked-tree is a markdown viewer for viewing markdown within a development environment.

    Affected versions of this package are vulnerable to Directory Traversal. There is no path sanitization in the path provided at fs.readFile in index.js.

    PoC by JHU System Security Lab

    1. Start the server node index.js
    2. Create a file sensitive-file in the server's parent directory
    3. curl -s --path-as-is http://127.0.0.1:3500/../sensitive-file

    How to fix Directory Traversal?

    There is no fixed version for marked-tree.

    *