CVE-2026-26801

SSRF Vulnerability in pdfmake Source Resolver Allows Remote Information Disclosure

Published Mar 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Server-Side Request Forgery (SSRF) vulnerability in pdfmake versions 0.3.0-beta.2 through 0.3.5 allows a remote attacker to obtain sensitive information via the src/URLResolver.js component. The fix was released in version 0.3.6 which introduces the setUrlAccessPolicy() method allowing server operators to define URL access rules. A warning is now logged when pdfmake is used server-side without a policy configured.

Analysis

AI-generated

Technical impact

The vulnerability is a Server‑Side Request Forgery in the pdfmake library's URLResolver.js component. A remote attacker can provoke the server to resolve arbitrary URLs, which may leak internal data or external resources. The flaw is identified as CWE‑918 and allows attackers to read sensitive information from the server environment.

Affected Systems

Affected versions are pdfmake 0.3.0‑beta.2 through 0.3.5. Any deployment that imports pdfmake in server‑side code without a URL access policy is at risk. The patch was released in 0.3.6 and introduces setUrlAccessPolicy and a runtime warning when no policy is defined.

Risk and Exploitability

The CVSS score is 7.5, indicating a high severity. The EPSS score is less than 1%, suggesting low current exploitation likelihood, and the vulnerability is not listed in the KEV catalog. However, because SSRF can be leveraged to access internal resources, the risk remains significant for applications exposed to untrusted inputs. The attack vector likely involves supplying a malicious URL parameter to pdfmake during document generation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pdfmake to version 0.3.6 or later.
  • If upgrading is not immediately possible, configure a URL access policy by invoking setUrlAccessPolicy to restrict permitted domains.
  • Monitor application logs for the warning emitted when no policy is configured and add a policy if any usage is detected.
  • Avoid using pdfmake in server‑side contexts that accept untrusted input, or isolate that code with network restrictions.

Generated by OpenCVE AI on April 16, 2026 at 03:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wp52-r2fp-4vmr pdfmake is vulnerable to server-side request forgery (SSRF)
History
Type Values Removed Values Added
First Time appeared Pdfmake
Pdfmake pdfmake
CPEs cpe:2.3:a:pdfmake:pdfmake:*:*:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:-:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta10:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta11:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta12:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta13:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta14:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta15:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta16:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta17:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta18:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta19:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta2:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta3:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta4:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta5:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta6:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta7:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta8:*:*:*:*:*:*
cpe:2.3:a:pdfmake:pdfmake:0.3.0:beta9:*:*:*:*:*:*
Vendors & Products Pdfmake
Pdfmake pdfmake
Type Values Removed Values Added
Title SSRF Vulnerability in pdfmake Source Resolver Allows Remote Information Disclosure
Type Values Removed Values Added
First Time appeared Bpampuch
Bpampuch pdfmake
Vendors & Products Bpampuch
Bpampuch pdfmake
Type Values Removed Values Added
Weaknesses CWE-918
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Server-Side Request Forgery (SSRF) vulnerability in pdfmake versions 0.3.0-beta.2 through 0.3.5 allows a remote attacker to obtain sensitive information via the src/URLResolver.js component. The fix was released in version 0.3.6 which introduces the setUrlAccessPolicy() method allowing server operators to define URL access rules. A warning is now logged when pdfmake is used server-side without a policy configured.
References
Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 17, 2026, 4:36 PM
Reserved
Feb 16, 2026, 12:00 AM
Status
Analyzed
Published
Mar 10, 2026, 7:17 PM
Modified
Jun 17, 2026, 10:26 AM