PDF Generator for Posts & Pages – Export Any Post Type to PDF Security & Risk Analysis

wordpress.org/plugins/post-to-pdf

Add a one-click PDF download button to any post, page, or custom post type. Includes a visual layout builder, ACF field support, color control, and sh …

90 active installs v1.1 PHP 7.4+ WP 5.6+ Updated Mar 15, 2026
export-post-pdfpdf-downloadpdf-generatorpost-to-pdfwordpress-pdf
99
A · Safe
CVEs total1
Unpatched0
Last CVEDec 13, 2024
Download
Safety Verdict

Is PDF Generator for Posts & Pages – Export Any Post Type to PDF Safe to Use in 2026?

Generally Safe

Score 99/100

PDF Generator for Posts & Pages – Export Any Post Type to PDF has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Dec 13, 2024Updated 19d ago
Risk Assessment

The 'post-to-pdf' plugin version 1.1 exhibits a mixed security posture. While it demonstrates good practices such as exclusively using prepared statements for SQL queries and performing a significant number of nonce and capability checks, there are notable areas of concern. The presence of 7 REST API routes, with one lacking permission callbacks, presents a direct unprotected entry point into the plugin's functionality. This is a significant risk as it could allow unauthorized users to interact with or exploit this endpoint. The plugin also has a history of vulnerabilities, specifically a medium severity Cross-Site Scripting (XSS) issue reported relatively recently. While this specific vulnerability is patched, the recurring nature of such issues suggests potential weaknesses in input sanitization or output escaping that might not be fully captured by static analysis alone.

Key Concerns

  • REST API route without permission callback
  • Medium severity XSS vulnerability history
  • 63% of outputs properly escaped
Vulnerabilities
1

PDF Generator for Posts & Pages – Export Any Post Type to PDF Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

Post to Pdf <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Dec 13, 2024 Patched in 1.1 (1d)
Code Analysis
Analyzed Mar 16, 2026

PDF Generator for Posts & Pages – Export Any Post Type to PDF Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

63% escaped24 total outputs
Attack Surface
1 unprotected

PDF Generator for Posts & Pages – Export Any Post Type to PDF Attack Surface

Entry Points8
Unprotected1

REST API Routes 7

POST/wp-json/gmptp/v1/save-settingsincludes\GMPTP_API.php:13
POST/wp-json/gmptp/v1/save-customfieldincludes\GMPTP_API.php:19
POST/wp-json/gmptp/v1/delete-customfieldincludes\GMPTP_API.php:24
GET/wp-json/gmptp/v1/get-settingsincludes\GMPTP_API.php:31
GET/wp-json/gmptp/v1/morepluginincludes\GMPTP_API.php:36
GET/wp-json/gmptp/v1/acf-fieldsincludes\GMPTP_API.php:42
GET/wp-json/gmptp-pdf/v1/postsincludes\GMPTP_API_Frontend.php:9

Shortcodes 1

[gmptp_single_post] includes\GMPTP_Frontend.php:26
WordPress Hooks 11
actionadmin_menuincludes\GMPTP_Admin.php:9
actionadmin_enqueue_scriptsincludes\GMPTP_Admin.php:10
actionrest_api_initincludes\GMPTP_API.php:8
actionrest_api_initincludes\GMPTP_API_Frontend.php:5
actioninitincludes\GMPTP_Cron.php:7
actionadd_meta_boxesincludes\GMPTP_Exclude.php:10
actionsave_postincludes\GMPTP_Exclude.php:11
actioninitincludes\GMPTP_Frontend.php:11
actionwp_footerincludes\GMPTP_Frontend.php:17
actionthe_contentincludes\GMPTP_Frontend.php:22
actioninitincludes\GMPTP_PDF.php:11
Maintenance & Trust

PDF Generator for Posts & Pages – Export Any Post Type to PDF Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 15, 2026
PHP min version7.4
Downloads4K

Community Trust

Rating20/100
Number of ratings1
Active installs90
Developer Profile

PDF Generator for Posts & Pages – Export Any Post Type to PDF Developer Profile

theme funda

26 plugins · 12K total installs

87
trust score
Avg Security Score
98/100
Avg Patch Time
85 days
View full developer profile
Detection Fingerprints

How We Detect PDF Generator for Posts & Pages – Export Any Post Type to PDF

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/post-to-pdf/build/admin/admin.js/wp-content/plugins/post-to-pdf/build/admin/admin.css
Script Paths
/wp-content/plugins/post-to-pdf/build/admin/admin.js
Version Parameters
post-to-pdf/build/admin/admin.js?ver=1.0post-to-pdf/build/admin/admin.css?ver=1

HTML / DOM Fingerprints

CSS Classes
gmptp_button
HTML Comments
<!-- Output nonce for security --><!-- HTML for the radio buttons --><!-- Retrieve existing value from the database --><!-- Default to 'no' if no value is set -->+10 more
Data Attributes
name="gmptp_exclude_post_option"value="yes"value="no"name="gmptp_exclude_post_option"id="GMPTP-admin-root"
JS Globals
gmwcp_wp_ajax
REST Endpoints
/wp-json/gmptp/v1/moreplugin/wp-json/gmptp/v1/get-settings/wp-json/gmptp/v1/save-settings/wp-json/gmptp/v1/save-customfield/wp-json/gmptp/v1/delete-customfield/wp-json/gmptp/v1/acf-fields
Shortcode Output
[gmptp_single_post]
FAQ

Frequently Asked Questions about PDF Generator for Posts & Pages – Export Any Post Type to PDF