WP PDF Generator Security & Risk Analysis

wordpress.org/plugins/wp-pdf-generator

Simply helps you to get your web page download as pdf

1K active installs v1.2.4 PHP + WP 3.0.1+ Updated Nov 1, 2024
pdf-converterpdf-pluginpdf-wordpress-pluginwordpress-pdf-generatorwordpress-pdf-plugin
92
A · Safe
CVEs total1
Unpatched0
Last CVEJun 13, 2023
Safety Verdict

Is WP PDF Generator Safe to Use in 2026?

Generally Safe

Score 92/100

WP PDF Generator has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jun 13, 2023Updated 1yr ago
Risk Assessment

The "wp-pdf-generator" v1.2.4 plugin exhibits a generally good security posture, particularly in its handling of SQL queries and output escaping, with 100% prepared statements and 95% properly escaped outputs. The limited attack surface, consisting of a single shortcode and no unprotected AJAX or REST API entry points, further contributes to its perceived safety. Taint analysis also shows no critical or high severity unsanitized flows, and no file operations or external HTTP requests are observed, indicating strong defensive programming practices in these areas.

However, the plugin's history of known vulnerabilities, specifically one medium severity Cross-Site Request Forgery (CSRF) issue reported in June 2023, remains a notable concern. While this vulnerability is reportedly patched (0 currently unpatched), the existence of past CSRF issues suggests a potential for such weaknesses to be introduced. The absence of capability checks on its single shortcode, although not identified as an immediate risk in the static analysis (as the attack surface is limited and no unprotected entry points were found), could become a concern if functionality were to be expanded or if the shortcode itself performs sensitive operations.

In conclusion, "wp-pdf-generator" v1.2.4 demonstrates strengths in secure coding practices for SQL and output handling, and has a small attack surface. The main area for improvement lies in ensuring past vulnerability types like CSRF are thoroughly prevented in future development. The lack of explicit capability checks, while not a current critical flaw, warrants attention for maintaining robust security as the plugin evolves.

Key Concerns

  • Medium severity CVE history
  • No capability checks on shortcode
Vulnerabilities
1

WP PDF Generator Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2023-35038medium · 4.3Cross-Site Request Forgery (CSRF)

WP PDF Generator <= 1.2.2 - Cross-Site Request Forgery to PDF Settings Update

Jun 13, 2023 Patched in 1.2.3 (224d)
Code Analysis
Analyzed Mar 16, 2026

WP PDF Generator Code Analysis

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

Output Escaping

95% escaped42 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
<wp_objects_pdf_class> (wp_objects_pdf_class.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP PDF Generator Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[wp_objects_pdf] wp_objects_pdf_class.php:30
WordPress Hooks 9
filterplugin_action_linkswp_objects_pdf.php:58
filterplugin_row_metawp_objects_pdf.php:74
actioninitwp_objects_pdf_class.php:23
actionadmin_enqueue_scriptswp_objects_pdf_class.php:24
actionwp_headwp_objects_pdf_class.php:25
actionadmin_menuwp_objects_pdf_class.php:26
actionwp_footerwp_objects_pdf_class.php:27
actionwp_headwp_objects_pdf_class.php:28
actionbody_classwp_objects_pdf_class.php:29
Maintenance & Trust

WP PDF Generator Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedNov 1, 2024
PHP min version
Downloads45K

Community Trust

Rating62/100
Number of ratings14
Active installs1K
Developer Profile

WP PDF Generator Developer Profile

Saad Iqbal

84 plugins · 1.4M total installs

76
trust score
Avg Security Score
96/100
Avg Patch Time
287 days
View full developer profile
Detection Fingerprints

How We Detect WP PDF Generator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-pdf-generator/assets/css/style.css/wp-content/plugins/wp-pdf-generator/assets/js/es6-promise.auto.min.js/wp-content/plugins/wp-pdf-generator/assets/js/jspdf.min.js/wp-content/plugins/wp-pdf-generator/assets/js/html2canvas.min.js/wp-content/plugins/wp-pdf-generator/assets/js/html2pdf.min.js
Script Paths
/wp-content/plugins/wp-pdf-generator/assets/js/es6-promise.auto.min.js/wp-content/plugins/wp-pdf-generator/assets/js/jspdf.min.js/wp-content/plugins/wp-pdf-generator/assets/js/html2canvas.min.js/wp-content/plugins/wp-pdf-generator/assets/js/html2pdf.min.js
Version Parameters
wp-pdf-generator/assets/css/style.css?ver=wp-pdf-generator/assets/js/es6-promise.auto.min.js?ver=wp-pdf-generator/assets/js/jspdf.min.js?ver=wp-pdf-generator/assets/js/html2canvas.min.js?ver=wp-pdf-generator/assets/js/html2pdf.min.js?ver=

HTML / DOM Fingerprints

Shortcode Output
[wp_objects_pdf]
FAQ

Frequently Asked Questions about WP PDF Generator