Back
CVE-2020-7740
Server-side Request Forgery (SSRF)
High8.2EPSS 2.0%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High8.2 | 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 |
| NVDNVD · Modified | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.0% · top 19% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Weakness
- Server-side Request Forgery (SSRF)
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
- CWE-918 (opens in a new tab)All about CWE-918 and its CVEs
Affected products
node-pdf-generator
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmnode-pdf-generatorGHSA-hcq6-h8v2-r5wm (opens in a new tab)
References (2)
- https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hcq6-h8v2-r5wm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7740)Record last updated .