CVE-2026-26801: 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.
Published Mar 10, 2026 · Updated Mar 19, 2026
Affected packages
pdfmake
- Ecosystem
- npm
- Affected
- >= 0.3.0-beta.2, < 0.3.6
- Fixed in
- 0.3.6
- Check
npm ls pdfmake
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to mariopepe.
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
- https://github.com/advisories/GHSA-wp52-r2fp-4vmr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
