---
id: CVE-2026-82866
title: >-
  @pdfme/common before 5.5.10 contains a server-side request forgery
  vulnerability in the getB64BasePdf function that fetches arbitrary URLs
  without validation when basePdf is attacker-controlled
summary: >-
  @pdfme/common before 5.5.10 contains a server-side request forgery
  vulnerability in the getB64BasePdf function that fetches arbitrary URLs
  without validation when basePdf is attacker-controlled. Attackers who control
  the basePdf template…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-918
vendor: pdfme
product: common
affected:
  - common < 5.5.10
published: '2026-08-31'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:53.857'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82866'
references:
  - url: 'https://github.com/pdfme/pdfme/security/advisories/GHSA-pgx6-7jcq-2qff'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/pdfme-common-before-5.5.10-ssrf-via-unvalidated-url-fetch
    label: disclosure@vulncheck.com
  - url: 'https://github.com/pdfme/pdfme/security/advisories/GHSA-pgx6-7jcq-2qff'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-02T15:34:38.695182Z'
epss: 0.00347
epssPercentile: 0.28102
ingestedAt: '2026-09-10T16:57:28.696Z'
---

## Overview

@pdfme/common before 5.5.10 contains a server-side request forgery vulnerability in the getB64BasePdf function that fetches arbitrary URLs without validation when basePdf is attacker-controlled. Attackers who control the basePdf template field can force servers or clients to make requests to internal endpoints, enabling metadata exfiltration, network reconnaissance, and blind request forgery attacks.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
