Description
This affects all versions of package node-pdf-generator. Due to lack of user input validation and sanitization done to the content given to node-pdf-generator, it is possible for an attacker to craft a url that will be passed to an external server allowing an SSRF attack.
Remediation
References
https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29
https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636
Related Vulnerabilities
CVE-2020-7719 Vulnerability in npm package locutus
CVE-2021-39234 Vulnerability in maven package org.apache.ozone:ozone-common
CVE-2020-7742 Vulnerability in npm package simpl-schema
CVE-2018-20000 Vulnerability in maven package org.bedework:bw-webdav
CVE-2022-36537 Vulnerability in maven package org.zkoss.zk:zk