Description
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.
References
github.com/bpampuch/pdfmake/blob/master/src/URLResolver.js
github.com/bpampuch/pdfmake/releases/tag/0.3.6
github.com/bpampuch/pdfmake/pull/2920