Vulnerability · Published Oct 6, 2020 · Assigned by snyk
CVE-2020-7740Server-side Request Forgery (SSRF)
High 8.2
In plain English
A high-severity security flaw in node-pdf-generator. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Severity (CVSS 3.1)8.2High
Exploit odds (30 days)2.0%top 18.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | node-pdf-generator | no fix listed | GHSA-hcq6-h8v2-r5wm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | node-pdf-generator | 0 – before unspecified |
References
- https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636 x_refsource_MISC
- https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29 x_refsource_MISC