@pdfme/common SSRF in base PDF fetching
pdfme common
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pdfme common |
| No fix yet |
Original description
@pdfme/common from 5.5.10 before 6.2.6 contains a server-side request forgery vulnerability that allows attackers to bypass the isUrlSafeToFetch denylist in getB64BasePdf. Attackers can supply basePdf URLs using IPv4-mapped IPv6, [::], NAT64 or localhost alias hostnames to read loopback, internal or cloud metadata responses through generated documents.
From the CVE record · VulnCheck