pdfmake is vulnerable to server-side request forgery (SSRF)
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | pdfmake | >= 0.3.0-beta.2, < 0.3.6 | 0.3.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-26801
- https://github.com/bpampuch/pdfmake/pull/2920
- https://github.com/bpampuch/pdfmake
- https://github.com/bpampuch/pdfmake/blob/master/src/URLResolver.js
- https://github.com/bpampuch/pdfmake/releases/tag/0.3.6
- https://mariopepe.github.io/cve-2026-26801-pdfmake-ssrf
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-918- Platform
- npm
- Package
pdfmake- Disclosed
- 10.03.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wp52-r2fp-4vmr - CC BY 4.0
Vulnerability history: pdfmake
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 10.2025 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2025: 1
- 2026: 1
-
pdfmake is vulnerable to server-side request forgery (SSRF) this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.