{"api_version":"1","generated_at":"2026-07-23T09:42:31+00:00","cve":"CVE-2020-7740","urls":{"html":"https://cve.report/CVE-2020-7740","api":"https://cve.report/api/cve/CVE-2020-7740.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7740","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7740"},"summary":{"title":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2020-10-06 18:15:00","updated_at":"2020-10-19 19:06:00"},"problem_types":["CWE-20","CWE-918"],"metrics":[],"references":[{"url":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29","name":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29","refsource":"MISC","tags":["Broken Link","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636","name":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636","refsource":"MISC","tags":["Third Party Advisory"],"title":"Server-side Request Forgery (SSRF) in node-pdf-generator | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js#L29","name":"MISC:https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29","refsource":"MITRE","tags":[],"title":"node-pdf-generator/index.js at master · darrenhaken/node-pdf-generator · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7740","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7740","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Vasilii Ermilov","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"7740","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node-pdf-generator_project","cpe5":"node-pdf-generator","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7740","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node-pdf-generator_project","cpe5":"node-pdf-generator","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-7740","qid":"982621","title":"Nodejs (npm) Security Update for node-pdf-generator (GHSA-hcq6-h8v2-r5wm)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2020-10-06T16:35:28.418783Z","ID":"CVE-2020-7740","STATE":"PUBLIC","TITLE":"Server-side Request Forgery (SSRF)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"node-pdf-generator","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Server-side Request Forgery (SSRF)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636","name":"https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636"},{"refsource":"MISC","url":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29","name":"https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"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","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}},"credit":[{"lang":"eng","value":"Vasilii Ermilov"}]},"nvd":{"publishedDate":"2020-10-06 18:15:00","lastModifiedDate":"2020-10-19 19:06:00","problem_types":["CWE-20","CWE-918"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":4.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":6.4},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node-pdf-generator_project:node-pdf-generator:*:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"7740","Ordinal":"168021","Title":"CVE-2020-7740","CVE":"CVE-2020-7740","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"7740","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"7740","Ordinal":"2","NoteData":"2020-10-06","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"7740","Ordinal":"3","NoteData":"2020-10-06","Type":"Other","Title":"Modified"}]}}}