{"id":"CVE-2020-7740","aliases":["EUVD-2021-1099","GHSA-hcq6-h8v2-r5wm"],"status":"published","title":"Server-side Request Forgery (SSRF)","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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02044,"percentile":0.81339,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-20","CWE-918"],"published":"2020-10-06T16:40:13Z","modified":"2026-06-17T03:25:21Z","exploits":[{"source":"pocgithub","id":"CS4239-U6/node-pdf-generator-ssrf","title":"CS4239-U6/node-pdf-generator-ssrf","date":"2021-11-11","url":"https://github.com/CS4239-U6/node-pdf-generator-ssrf"}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-pdf-generator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}]},{"source":"osv","ecosystem":"npm","package":"node-pdf-generator","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.6"}]}]}],"products":[{"vendor":"node-pdf-generator_project","product":"node-pdf-generator"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7740","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hcq6-h8v2-r5wm"}],"sources":{"cve":[{"id":"CVE-2020-7740","title":"Server-side Request Forgery (SSRF)","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.","status":"published","published":"2020-10-06T16:40:13.357Z","modified":"2024-09-17T03:52:44.294Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-1099","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.","status":"published","published":"2020-10-06T16:40:13Z","modified":"2024-09-17T03:52:44Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high"}],"updated_at":"2026-11-03T00:28:28.016201Z"}],"ghsa":[{"id":"GHSA-hcq6-h8v2-r5wm","title":"Server-Side Request Forgery in node-pdf-generator","description":"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.","status":"published","published":"2021-05-10T18:38:34Z","modified":"2023-02-01T05:05:29Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-20","CWE-918"],"updated_at":"2026-11-02T14:36:34.260786Z"}],"nvd":[{"id":"CVE-2020-7740","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.","status":"published","published":"2020-10-06T18:15:18.127Z","modified":"2026-06-17T03:25:21.643Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20","CWE-918"],"updated_at":"2026-11-02T14:06:17.70091Z"}],"osv":[{"id":"GHSA-hcq6-h8v2-r5wm","title":"Server-Side Request Forgery in node-pdf-generator","description":"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.","status":"published","published":"2021-05-10T18:38:34Z","modified":"2026-03-13T21:56:20.174535Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-20","CWE-918"],"updated_at":"2026-11-02T15:46:48.920784Z"}]}}
