Vulnerability Details : CVE-2020-7740
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.
Vulnerability category: Server-side request forgery (SSRF) Input validation
Products affected by CVE-2020-7740
- cpe:2.3:a:node-pdf-generator_project:node-pdf-generator:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7740
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7740
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.4
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:P/A:N |
10.0
|
4.9
|
NIST | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
3.9
|
4.2
|
Snyk |
CWE ids for CVE-2020-7740
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
-
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7740
-
https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29
Page not found · GitHub · GitHubBroken Link;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636
Server-side Request Forgery (SSRF) in node-pdf-generator | SnykThird Party Advisory
Jump to