{"id":"GHSA-hcq6-h8v2-r5wm","summary":"Server-Side Request Forgery in node-pdf-generator","details":"This affects all versions of package node-pdf-generator up to and including 0.0.6. 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.","aliases":["CVE-2020-7740"],"modified":"2026-03-13T21:56:20.174535Z","published":"2021-05-10T18:38:34Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-04-21T20:52:05Z","nvd_published_at":"2020-10-06T18:15:00Z","cwe_ids":["CWE-20","CWE-918"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7740"},{"type":"WEB","url":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636"}],"affected":[{"package":{"name":"node-pdf-generator","ecosystem":"npm","purl":"pkg:npm/node-pdf-generator"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-hcq6-h8v2-r5wm/GHSA-hcq6-h8v2-r5wm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"}]}