Description
Prince is a Node API for executing XML/HTML to PDF renderer PrinceXML via prince(1) CLI. prince downloads zipped resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested tarball with an attacker controlled tarball if the attacker is on the network or positioned in between the user and the remote server.
References (1)
Core 1
Core References
Third Party Advisory x_refsource_misc
https://nodesecurity.io/advisories/185
Scores
CVSS v3
8.1
EPSS
0.0073
EPSS Percentile
72.9%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-310
CWE-311
Status
published
Products (2)
npm/prince
0 - 1.4.7npm
prince_project/prince
1.4.4 - 1.4.6
Published
May 29, 2018
Tracked Since
Feb 18, 2026