Wonder PDF Embed Security & Risk Analysis

wordpress.org/plugins/wonderplugin-pdf-embed

Embed PDF to your WordPress website by using Mozilla's PDF.js

9K active installs v3.1 PHP + WP 3.6+ Updated Feb 18, 2026
pdf-embedpdf-lightboxpdf-viewerresponsive-pdf-embedresponsive-pdf-viewer
100
A · Safe
CVEs total1
Unpatched0
Last CVEJul 19, 2021
Safety Verdict

Is Wonder PDF Embed Safe to Use in 2026?

Generally Safe

Score 100/100

Wonder PDF Embed has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jul 19, 2021Updated 1mo ago
Risk Assessment

The "wonderplugin-pdf-embed" plugin version 3.1 exhibits a generally good security posture based on the static analysis. The absence of dangerous functions, the use of prepared statements for all SQL queries, and proper output escaping are commendable practices. Furthermore, the presence of a nonce check and the limited attack surface with no immediately unprotected entry points suggest a level of security awareness in its development.

However, the analysis does reveal some areas of concern. Specifically, the taint analysis indicates two flows with unsanitized paths, although they are not categorized as critical or high severity. This suggests a potential for input sanitation issues that could be exploited under certain conditions. The vulnerability history, while showing no currently unpatched CVEs, does list one past medium-severity vulnerability related to Cross-Site Scripting. This historical pattern warrants attention, as it points to a past weakness that, even if resolved, indicates a propensity for certain types of vulnerabilities.

In conclusion, while the plugin demonstrates strong fundamental security practices in its current version, the presence of unsanitized paths in taint flows and the historical XSS vulnerability suggest that careful code review and ongoing vigilance are still necessary. The lack of capability checks on its entry points also represents a missed opportunity for more robust access control.

Key Concerns

  • Taint flows with unsanitized paths (2)
  • Past medium severity XSS vulnerability
  • No capability checks on entry points
Vulnerabilities
1

Wonder PDF Embed Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2021-24541medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Wonder PDF Embed <= 1.6 - Contributor+ Stored Cross-Site Scripting

Jul 19, 2021 Patched in 1.7 (918d)
Code Analysis
Analyzed Mar 16, 2026

Wonder PDF Embed Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
8 escaped
Nonce Checks
1
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

100% escaped8 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
edit_settings (wonderplugin-pdf.php:162)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Wonder PDF Embed Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[wonder_pdf] wonderplugin-pdf.php:22
[wonderplugin_pdf] wonderplugin-pdf.php:24
WordPress Hooks 2
actionadmin_menuwonderplugin-pdf.php:20
filterwidget_textwonderplugin-pdf.php:26
Maintenance & Trust

Wonder PDF Embed Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 18, 2026
PHP min version
Downloads156K

Community Trust

Rating90/100
Number of ratings13
Active installs9K
Developer Profile

Wonder PDF Embed Developer Profile

WonderPlugin

6 plugins · 26K total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
368 days
View full developer profile
Detection Fingerprints

How We Detect Wonder PDF Embed

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wonderplugin-pdf-embed/pdfjslight/web/viewer.html/wp-content/plugins/wonderplugin-pdf-embed/pdfjs/web/viewer.html

HTML / DOM Fingerprints

CSS Classes
wonderplugin-pdf-iframe
Data Attributes
data-wonderplugin-pdf-embed
JS Globals
wonder_pdf_optionswonder_pdf_embed_options
Shortcode Output
<iframe class="wonderplugin-pdf-iframe" src="
FAQ

Frequently Asked Questions about Wonder PDF Embed