Vulnerability library
Security checkMarch 19, 2026

pdfmake is vulnerable to server-side request forgery (SSRF)

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmpdfmake

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the pdfmake package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.3.0-beta.2, < 0.3.6
  • Patched version(s): 0.3.6

References

Could your website be exposed too?

SmartScanner can check your website for pdfmake is vulnerable to server-side request forgery (SSRF) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 19, 2026