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-2020-2268 Vulnerability in maven package org.jenkins-ci.plugins:mongodb
CVE-2017-16126 Vulnerability in npm package botbait
CVE-2016-5007 Vulnerability in maven package org.springframework.security:spring-security-web
CVE-2018-16491 Vulnerability in maven package org.webjars.npm:node.extend
CVE-2021-23346 Vulnerability in npm package html-parse-stringify