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-2021-20218 Vulnerability in maven package io.fabric8:kubernetes-client
CVE-2022-1440 Vulnerability in npm package git-interface
CVE-2021-21292 Vulnerability in maven package org.traccar:traccar
CVE-2020-7713 Vulnerability in npm package arr-flatten-unflatten
CVE-2022-36313 Vulnerability in maven package org.webjars.npm:file-type