Description
@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.
Published: 2026-08-31
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: Server-side Request Forgery
Action: Immediate Patch
AI Analysis

Impact

The @pdfme/common library prior to version 5.5.10 contains a server-side request forgery (SSRF) flaw in its getB64BasePdf function. The function fetches arbitrary URLs without validation when the basePdf template is supplied by an attacker. An attacker who can control this template can cause the server or client to send HTTP requests to internal resources, which can lead to metadata exfiltration, network reconnaissance or blind request forgery against internal services. The weakness is classified as CWE‑918.

Affected Systems

Vendors: pdfme:common. All installations using @pdfme/common versions earlier than 5.5.10 are impacted. The update 5.5.10 or later mitigates the flaw.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.9, indicating high severity. The EPSS score is not available, and the issue is not listed in CISA's KEV catalog. Attackers can exploit the flaw by embedding malicious URLs in the basePdf field, leading to unauthorized internal requests. Due to the lack of input validation, the attack surface is broad, making exploitation relatively straightforward for anyone who can influence the template content.

Generated by OpenCVE AI on August 31, 2026 at 10:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to @pdfme/common version 5.5.10 or later
  • Restrict outbound URL requests in getB64BasePdf to a whitelist of allowed domains
  • Configure firewall rules to block outbound connections to sensitive internal networks not required by the application

Generated by OpenCVE AI on August 31, 2026 at 10:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Pdfme
Pdfme common
Vendors & Products Pdfme
Pdfme common

Mon, 31 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Description @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.
Title @pdfme/common before 5.5.10 SSRF via Unvalidated URL Fetch
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-02T15:34:50.077Z

Reserved: 2026-08-31T08:37:53.170Z

Link: CVE-2026-82866

cve-icon Vulnrichment

Updated: 2026-09-02T15:34:09.467Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T09:17:07.260

Modified: 2026-09-10T15:53:23.707

Link: CVE-2026-82866

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:18:37Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)