WP Vulnerability WatchVulnerability data as of September 7, 2026

Known vulnerabilities in PDF.js Viewer

Embed a beautiful PDF viewer into pages.

2Reported vulnerabilities
5.4Highest CVSS score
3.1.1Latest version
20,000+Active installs

What to do now

Update PDF.js Viewer to 2.1.8 or later. 2 of these have a fixed version available. Updating resolves them.

Plugin last updated: April 21, 2026 / Tested up to WordPress: 7.0.4 / View on wordpress.org

Reported vulnerabilities

Ordered by how urgently they need attention — whether a vulnerability is actually being exploited, and how likely exploitation is, rather than CVSS severity alone.

CVESeverityExploit probability
next 30 days
Affected versionsFixed inPublished
CVE-2022-4670 Medium 5.4 0.6% Before 2.1.8 2.1.8 February 6, 2023
CVE-2021-24759 Medium 5.4 0.6% Before 2.0.2 2.0.2 December 6, 2021

Sources: vulnerability records from NVD, exploitation from CISA KEV, exploit probability from EPSS. Affected versions come from CPE ranges or from the reporting CNA.