high7.5
CVE-2026-26801
pdfmake is vulnerable to server-side request forgery (SSRF)
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | pdfmake | >= 0.3.0-beta.2, < 0.3.6 | 0.3.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pdfmake | Pdfmake | from 0.3.1 through 0.3.5 Version 0.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/bpampuch/pdfmake
- https://github.com/bpampuch/pdfmake/blob/master/src/URLResolver.js
- https://github.com/bpampuch/pdfmake/pull/2920
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-26801