Pdfme common
@pdfme/common 5.5.10 before 6.2.6 SSRF via isUrlSafeToFetch Bypass
@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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.9high · scored by CNA · CWE-918
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
pdfme common
- >= 5.5.10, < 6.2.6
Fixed in 6.2.6
Mitigation
Upgrade common to 6.2.6 or later.
References
- Vendor advisory github.com/pdfme/pdfme/security/advisories/GHS…
- Patch github.com/pdfme/pdfme/commit/d03d0bc4994ce692…
- Vendor advisory github.com/pdfme/pdfme/security/advisories/GHS…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.