PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Security & Risk Analysis

wordpress.org/plugins/pdf-print

Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.

10K active installs v2.4.6 PHP + WP 6.2+ Updated Jan 23, 2026
add-pdf-buttonadd-print-buttongenerate-pdfpdf-pagespdf-plugin
99
A · Safe
CVEs total3
Unpatched0
Last CVEDec 4, 2017
Safety Verdict

Is PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Safe to Use in 2026?

Generally Safe

Score 99/100

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin has a strong security track record. Known vulnerabilities have been patched promptly.

3 known CVEsLast CVE: Dec 4, 2017Updated 2mo ago
Risk Assessment

The 'pdf-print' plugin v2.4.6 exhibits a mixed security posture. On the positive side, the static analysis reveals a significant number of entry points (8) with zero reported as unprotected, and a high percentage of output escaping (88%), along with robust nonce and capability checks. This suggests a conscious effort to implement security measures. However, the presence of unsanitized path flows in the taint analysis is a notable concern, indicating potential risks of directory traversal or similar vulnerabilities even without critical or high severity findings. The plugin's vulnerability history, with three previously disclosed medium-severity CVEs, all of which appear to be patched based on the 'Currently unpatched: 0' status, primarily revolving around Cross-site Scripting (XSS), indicates past struggles with input sanitization. While the latest vulnerability was in 2017, the pattern of XSS suggests that developers should remain vigilant about how user-provided data is handled.

Overall, while the current version shows improvements in its security implementations, the taint analysis findings and historical XSS vulnerabilities warrant caution. The low number of unprotected entry points is a strength, but the unsanitized paths are a weakness that could be exploited. The lack of critical or high vulnerabilities in the current analysis is reassuring, but the plugin's past suggests a need for ongoing security reviews to prevent recurrence of issues.

Key Concerns

  • Unsanitized path flows in taint analysis
  • SQL queries not using prepared statements
  • Medium severity CVEs in history
Vulnerabilities
3

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Security Vulnerabilities

CVEs by Year

1 CVE in 2014
2014
2 CVEs in 2017
2017
Patched Has unpatched

Severity Breakdown

Medium
3

3 total CVEs

CVE-2018-20970medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

PDF & Print by BestWebSoft < 2.0.3 - Reflected Cross-Site Scripting

Dec 4, 2017 Patched in 2.0.3 (2447d)
CVE-2017-18528medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Download PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin <= 1.9.3 - Cross-Site Scripting

Apr 14, 2017 Patched in 1.9.4 (2475d)
WF-05d86f94-1a1c-42d6-b0db-e19c5cbd1766-pdf-printmedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin < 1.7.5 - Cross-Site Scripting

Aug 7, 2014 Patched in 1.7.5 (3456d)
Code Analysis
Analyzed Mar 16, 2026

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Code Analysis

Dangerous Functions
0
Raw SQL Queries
2
2 prepared
Unescaped Output
94
699 escaped
Nonce Checks
25
Capability Checks
3
File Operations
84
External Requests
10
Bundled Libraries
0

SQL Query Safety

50% prepared4 total queries

Output Escaping

88% escaped793 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

12 flows2 with unsanitized paths
<out> (mpdf\includes\out.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Attack Surface

Entry Points8
Unprotected0

AJAX Handlers 6

authwp_ajax_bws_submit_request_feature_actionbws_menu\class-bws-settings.php:1475
authwp_ajax_bws_submit_uninstall_reason_actionbws_menu\deactivation-form.php:433
authwp_ajax_pdfprnt_load_fontspdf-print.php:2170
authwp_ajax_pdfprnt_upgrade_librarypdf-print.php:2172
authwp_ajax_pdfprnt_pdf_countpdf-print.php:2173
noprivwp_ajax_pdfprnt_pdf_countpdf-print.php:2174

Shortcodes 2

[bws_pdfprint] pdf-print.php:2154
[bws_pdfprint_pagebreak] pdf-print.php:2155
WordPress Hooks 43
filterload_textdomain_mofilebws_menu\bws_functions.php:43
filtermce_external_pluginsbws_menu\bws_functions.php:1146
filtermce_buttonsbws_menu\bws_functions.php:1147
actionadmin_initbws_menu\bws_functions.php:1433
actionadmin_enqueue_scriptsbws_menu\bws_functions.php:1434
actionadmin_headbws_menu\bws_functions.php:1435
actionadmin_footerbws_menu\bws_functions.php:1436
actionadmin_noticesbws_menu\bws_functions.php:1438
actionwp_enqueue_scriptsbws_menu\bws_functions.php:1440
actionwp_footerincludes\class-pdfprnt-buttons-widget.php:72
actionwp_footerpdf-print.php:448
actionwp_footerpdf-print.php:689
actionwp_footerpdf-print.php:789
actionwp_footerpdf-print.php:850
actionloop_startpdf-print.php:896
actionloop_endpdf-print.php:907
actionloop_startpdf-print.php:928
actionloop_endpdf-print.php:929
actionwp_footerpdf-print.php:1042
filterthe_contentpdf-print.php:1316
filterthe_contentpdf-print.php:1317
filterthe_contentpdf-print.php:1318
filterthe_contentpdf-print.php:1319
filterthe_contentpdf-print.php:1320
filterthe_contentpdf-print.php:1329
actionwppdf-print.php:2140
actionwp_headpdf-print.php:2141
actionplugins_loadedpdf-print.php:2142
actioninitpdf-print.php:2144
actionadmin_initpdf-print.php:2145
actionadmin_enqueue_scriptspdf-print.php:2147
actionwp_enqueue_scriptspdf-print.php:2148
actionadmin_menupdf-print.php:2150
filterquery_varspdf-print.php:2152
filterbwsplgns_pdf_replace_contentpdf-print.php:2157
filterbws_shortcode_button_contentpdf-print.php:2160
filterplugin_action_linkspdf-print.php:2163
filterplugin_row_metapdf-print.php:2164
filterthe_contentpdf-print.php:2166
filterget_the_excerptpdf-print.php:2168
actionadmin_noticespdf-print.php:2176
actionwidgets_initpdf-print.php:2179
actionbwsplgns_display_pdf_print_buttonspdf-print.php:2181
Maintenance & Trust

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 23, 2026
PHP min version
Downloads651K

Community Trust

Rating78/100
Number of ratings102
Active installs10K
Developer Profile

PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin Developer Profile

bestwebsoft

17 plugins · 207K total installs

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

How We Detect PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/pdf-print/css/pdfprint.css/wp-content/plugins/pdf-print/js/pdfprint.js/wp-content/plugins/pdf-print/js/pdfPrint-print-page.js/wp-content/plugins/pdf-print/js/pdfPrint-pdf-page.js
Script Paths
/wp-content/plugins/pdf-print/js/pdfprint.js/wp-content/plugins/pdf-print/js/pdfPrint-print-page.js/wp-content/plugins/pdf-print/js/pdfPrint-pdf-page.js
Version Parameters
pdf-print/css/pdfprint.css?ver=pdf-print/js/pdfprint.js?ver=pdf-print/js/pdfPrint-print-page.js?ver=pdf-print/js/pdfPrint-pdf-page.js?ver=

HTML / DOM Fingerprints

CSS Classes
bws-pdf-printbws_pdf_print_pdf_buttonbws_pdf_print_print_button
JS Globals
pdfprnt_shortcode_initpdfprnt_options
Shortcode Output
[pdf[print]
FAQ

Frequently Asked Questions about PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin