Advisories for Npm/Pdfmake package

2026

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.

2025
2022

False Positive

This vulnerability affects the dev-playground component of pdfmake which is not shipped in the builds available through NPM.