Releases32
Frequency3 months 3 weeks
Last Release
Downloads318K

Embed a PDF from the Media Library or elsewhere via oEmbed or as a block into an iframe tag. The URL only has to be world reachable link. Chrome uses Google Doc Viewer as Chrome seems to automatically rendered embedded JS in PDFs automatically. Uses Google Doc Viewer with mobile.

Inspired by Embed PDF and RV Embed PDF.

Many thanks to Alex Kirk for making Embed PDF Viewer compatible with the new block editor.

Development on GitHub. Pull requests are welcome against the develop branch.

Known Issues

Occasionally Google Doc Viewer will not correctly load the PDF. Reloading the page should correct the issue, though this may need to be done several times.

CVE History

CVEPublishedCVSS v3CVSS v2
6.4 MEDIUM

The Embed PDF Viewer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'height' and 'width' parameters in all versions up to, and including, 2.4.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.