CVE-2020-7740 — node-pdf-generator
HIGHCVE-2020-7740 is a high-severity (CVSS 8.2) Improper Input Validation vulnerability in node-pdf-generator. No vendor fix is recorded yet; mitigation options are listed below.
Server-Side Request Forgery in node-pdf-generator
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-7740 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
node-pdf-generatornpmDescription
This affects all versions of package node-pdf-generator up to and including 0.0.6. 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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | node-pdf-generator | all versions | No fix |
Affected Products
node-pdf-generatornode-pdf-generator_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for node-pdf-generator, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
No patched version of node-pdf-generator has shipped for CVE-2020-7740 yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.
Mitigate without a patch
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is CVE-2020-7740 in your dependencies?
Find it across npm, including transitive dependencies.