Vulnerabilities in pkg:npm/pdfmake
PACKAGECVE-2026-26801 is a HIGH (CVSS 7.5) pdfmake is vulnerable to server-side vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Pdfmake libraries in the npm ecosystem. The issue involves pdfmake is vulnerable to server-side request forgery (ssrf). Remediation is available by upgrading affected packages to version 0.3.6.
pkg:npm/pdfmake
Vulnerability advisories affecting package pkg:npm/pdfmake. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wp52-r2fp-4vmr | CVE-2026-26801 | HIGH | pdfmake is vulnerable to server-side request forgery (SSRF) |
| GHSA-rj3r-r7hh-jxfq | CVE-2025-11362 | HIGH | pdfmake is vulnerable to Throttling via repeatedly redirecting URL in file embedding |
CVE-2026-26801 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-26801
To remediate this vulnerability, upgrade all affected Pdfmake dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install pdfmake@0.3.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls pdfmake
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-26801, inspect your project dependencies using npm:
npm ls pdfmake
Analyze the terminal output to locate any version of Pdfmake in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.6), your application is affected.
Note: The npm ls pdfmake command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Pdfmake, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-26801 Affected Pdfmake Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pdfmake
|
npm |
≥ 0.3.0-beta.2
< 0.3.6
|
0.3.6
|
References
Frequently Asked Questions
What is CVE-2026-26801?
Which Pdfmake versions are affected?
What version fixes CVE-2026-26801?
Is pdfmake affected?
What is the CVSS score of CVE-2026-26801?
What CWE is associated with CVE-2026-26801?
How can I check npm dependencies for CVE-2026-26801?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wp52-r2fp-4vmr",
"modified" : "2026-03-19T16:35:25Z",
"published" : "2026-03-10T21:32:15Z",
"aliases" : [ "CVE-2026-26801" ],
"summary" : "pdfmake is vulnerable to server-side request forgery (SSRF)",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "pdfmake"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.0-beta.2"
}, {
"fixed" : "0.3.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26801"
}, {
"type" : "WEB",
"url" : "https://github.com/bpampuch/pdfmake/pull/2920"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bpampuch/pdfmake"
}, {
"type" : "WEB",
"url" : "https://github.com/bpampuch/pdfmake/blob/master/src/URLResolver.js"
}, {
"type" : "WEB",
"url" : "https://github.com/bpampuch/pdfmake/releases/tag/0.3.6"
}, {
"type" : "WEB",
"url" : "https://mariopepe.github.io/cve-2026-26801-pdfmake-ssrf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-11T21:12:09Z",
"nvd_published_at" : "2026-03-10T19:17:17Z"
}
}