Plugin Auditor is now available inside WordPress. Download Ultimate Auditor

PDF.js Viewer v3.1.1

Incorporate Mozilla’s PDF.js viewer into your pages and posts via a Gutenberg block or a simple shortcode. PDF.js is a javascript library for displaying pdf pages within browsers. Features: Gute...

Plugin Auditor is an independent service and is not affiliated with, endorsed by, or sponsored by PDF.js Viewer or its developer. Disclaimer.

  • Audit coverage Up to date 30 versions audited
  • On Plugin Auditor since Sep 12, 2026
  • Last audited Sep 12, 2026

Compatibility & requirements

The PHP and WordPress versions this plugin needs, and how current its version support is.

  • Requires PHP 7.4+
  • Requires WordPress 5.0+
  • Tested up to WP 7.0.4 WP 7.1.3 is current
  • Version adoption 53% run the current version

Audit scores by category

125 checks

How this plugin scores across the six areas we audit, from security to accessibility.

  • 100 Passed
  • 18 Warnings
  • 7 Failed
Security 73/100
Needs Improvement

27 of 37 checks passed.

Code Quality 84/100
Good

51 of 61 checks passed.

Performance 75/100
Needs Improvement

9 of 12 checks passed.

Compatibility 83/100
Good

5 of 6 checks passed.

Privacy 100/100
Excellent

3 of 3 checks passed.

Accessibility 83/100
Good

5 of 6 checks passed.

Code footprint

How much code ships in this plugin, and the file types that make it up.

View in detail

ZIP file size

10.5 MB

39.4 MB unzipped

Total files

457

across all file types

Lines of PHP

2,136

in 16 files Small

File types

  • BCMAP
  • FTL
  • SVG
  • OTHER
  • Other

Top issues

The most important findings from the latest audit, ordered by severity.

  • 0 Critical
  • 14 High
  • 19 Medium
  • 40 Low

This is a preview of notable findings. Full file-level results, line numbers and code context are in the scan.

View full report

How scores changed across versions

Across 30 audited versions of PDF.js Viewer, The largest regression was in Security (-11). The codebase grew 266% in size.

Audited 1.5.3 → 3.1.1 · 30 versions

0 50 100 1.5.3 2.1.2 2.2.2 3.1.1

How issues changed across versions

Findings by severity for each audited version, so you can see which issues were fixed over time.

0 118 235 1.5.3 2.1.2 2.2.2 3.1.1

Download momentum

How fast this plugin is being installed lately, and whether that pace is rising or slowing.

Last 7 days

732

downloads

Today

123

downloads

Week over week

−7%

vs previous week

Month over month

−7%

vs previous month

Download trend: Declining. Abandonment risk: Low.

Version intelligence

47% of installs run an older version

≈ 9.4K+ sites on a lower-scoring version.

  • Other
  • v2.1
  • v2.2
  • v3.0
  • v3.1

Ratings

53 ratings on WordPress.org

  • 5 37
  • 4 7
  • 3 4
  • 2 3
  • 1 2

Support: 0 / 1 threads resolved in the last two months

Maintenance & history

How actively this plugin is kept up, from its last update to its release history.

Last updated

4 mo ago

Apr 21, 2026

Release cadence

~ every 11 days

average between releases

Total releases

43

since Jan 2014 · 12 yrs

Contributors & developers

The people credited with building and maintaining this plugin.

Running PDF.js Viewer in Your Site?

Our latest audit of PDF.js Viewer v3.1.1 flagged 73 issues. Scan your own copy to see each one with its exact file, line number, and a recommended fix.

PDF.js Viewer and its trademarks are used only to identify the plugin analyzed and remain the property of their owners. This is an independent Plugin Auditor audit, not affiliated with, sponsored by, or endorsed by the plugin's developer. Metadata may come from WordPress.org; scores, findings, classifications, and visualizations are independently generated by Plugin Auditor. Full disclaimer.