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.
Remediation
References
https://nodesecurity.io/advisories/185
Related Vulnerabilities
CVE-2022-38545 Vulnerability in npm package valine
CVE-2015-8862 Vulnerability in maven package org.webjars.bower:mustache
CVE-2020-28271 Vulnerability in npm package deephas
CVE-2016-4430 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2011-4367 Vulnerability in maven package org.apache.myfaces.core:myfaces-core-project