prince@0.9.7 vulnerabilities

Node API for executing XML/HTML to PDF renderer PrinceXML via prince(1) CLI

  • latest version

    1.11.6

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the prince 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
    Resources Downloaded over Insecure Protocol

    prince is a Node API for executing XML/HTML to PDF renderer PrinceXML via prince CLI.

    Affected versions of the package are vulnerable to Man in the Middle (MitM) attacks due to downloading resources over an insecure protocol. The vulnerability is in the /prince-npm.js file, where it downloads a zip file over http. Without a secure connection, it is possible for an attacker to intercept this connection and alter the packages received. In serious cases, this may even lead to Remote Code Execution (RCE) on your host server.

    How to fix Resources Downloaded over Insecure Protocol?

    Upgrade prince to version 1.4.5 or higher.

    <1.4.5