prince@0.9.9 vulnerabilities

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

Direct Vulnerabilities

Known vulnerabilities in the prince package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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
  • 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