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-2021-21266 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.binding.ihc
CVE-2020-2218 Vulnerability in maven package org.jenkins-ci.plugins:hp-quality-center
CVE-2023-30516 Vulnerability in maven package org.jenkins-ci.plugins:image-tag-parameter
CVE-2021-3804 Vulnerability in npm package taro
CVE-2023-30513 Vulnerability in maven package org.csanchez.jenkins.plugins:kubernetes