CVE-2020-7740
HIGH 8.2CVSS 3.1Server-Side Request Forgery in node-pdf-generator
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.
- Published
- 6 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-20CWE-918
- Also known as
- GHSA-hcq6-h8v2-r5wm
- Sources
- NVDJSONOSV GHSA-hcq6-h8v2-r5wmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-pdf-generator_project | node-pdf-generatorcpe:2.3:a:node-pdf-generator_project:node-pdf-generator:*:*:*:*:*:*:*:* |
all versions | |
| OSV | npm | node-pdf-generator | <= 0.0.6 |
References
- https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29 · Broken Link, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7740 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 May 2021)