Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.
Gravity PDF 5.1.3 and 4.5.1 contains a security patch for mPDF – the PDF library that powers the plugin. This update prevents an arbitrary code execution issue. If your PDF template populates an <img /> tag with user-supplied data you are at risk. We recommend all users update immediately. Version 5.1.3 is available via your dashboard and can also be downloaded from If you’re still running v4, you will need to download 4.5.1 manually and install using FTP.

Along with the security fix, v5.1.3 resolves a false-positive caused by the mPDF font cache when using the security scanner software, chkrootkit. Instead of caching the font data in PHP files, JSON is now used. This change also ensures better compatibility with hosting providers like WP Engine.

Finally, v5.1.3 has better support for loading images in PDFs over HTTPS, as well as additional logging when images fail to load.

Published by Jake Jackson

Jake Jackson is the head developer at Gravity PDF. Along with developing the plugin, he uses his expertise to provide support and technical information to Gravity PDF users.

Signup for the latest Gravity PDF news, tips and updates

  • This field is for validation purposes and should be left unchanged.
Scroll To Top

Choose your currency:

Converted prices are for reference only - all orders are charged in $ Australian Dollars ($) AUD.
  • AUDAustralian Dollars ($)
  • USDUS Dollars ($)
  • CADCanadian Dollars ($)
  • EUREuros (€)
  • GBPPound Sterling (£)
  • NZDNew Zealand Dollar ($)
  • JPYJapanese Yen (¥)