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-46708 Vulnerability in maven package org.webjars.npm:swagger-ui
CVE-2020-26945 Vulnerability in maven package org.mybatis:mybatis
CVE-2020-28458 Vulnerability in maven package org.webjars.npm:datatables.net
CVE-2023-25330 Vulnerability in maven package com.baomidou:mybatis-plus-extension
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk14