Skip to main content
← All vulnerabilities
CVE-2026-115729EUVD-2026-108940GHSA-WF6H-PQHW-PHMV

@pdfme/common 5.5.10 before 6.2.6 SSRF via isUrlSafeToFetch Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

The @pdfme/common library, a JavaScript package used for generating PDF documents, is affected by this flaw. An attacker can supply a crafted base PDF URL that slips past the library's safety check, causing the server to fetch internal or cloud metadata resources and expose their contents in the generated documents.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • pdfme common

    From 5.5.10 · fixed in 6.2.6

References 4

GitHub · pdfme/pdfme

vulncheck.com