github_osv/GHSA-cr79-9pwf-r6f5
Downloads Resources over HTTP in prince
Affected versions of `prince` insecurely download an executable over an unencrypted HTTP connection.
In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running `prince`.
## Recommendation
Update to version 1.4.6 or later.
gitlab/npm/prince/CVE-2016-10591
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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.