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-2018-1000632 Vulnerability in maven package dom4j:dom4j
CVE-2017-16206 Vulnerability in npm package cofee-script
CVE-2016-1000237 Vulnerability in npm package sanitize-html
CVE-2018-3772 Vulnerability in npm package whereis
CVE-2018-11650 Vulnerability in maven package org.graylog2:graylog2-server