PDF 2 Post Security & Risk Analysis

wordpress.org/plugins/pdf2post

Bulk convert PDF documents to posts (imports all text and images - and attach images automatically to newly created posts).

100 active installs v2.4.0 PHP + WP 4.0+ Updated Jul 7, 2020
2bulkpdfpostto
61
C · Use Caution
CVEs total1
Unpatched1
Last CVEApr 15, 2025
Safety Verdict

Is PDF 2 Post Safe to Use in 2026?

Use With Caution

Score 61/100

PDF 2 Post has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Apr 15, 2025Updated 5yr ago
Risk Assessment

The pdf2post plugin v2.4.0 presents a mixed security posture. While it demonstrates good practices in handling SQL queries with prepared statements and appears to have a limited direct attack surface through its shortcode entry point, significant concerns arise from the static analysis and vulnerability history. The presence of dangerous functions like 'exec' combined with a high number of unsanitized path taint flows is a critical red flag, indicating a strong potential for code injection vulnerabilities. The low percentage of properly escaped output further exacerbates this risk, as untrusted data could be directly included in responses. The vulnerability history, specifically a recent high-severity CVE for 'Improper Control of Generation of Code ('Code Injection')' that remains unpatched, strongly suggests that the code is susceptible to this type of attack. This pattern of recurring code injection vulnerabilities, coupled with the 'exec' function and unsanitized paths, points to a persistent and serious security weakness within the plugin's development and maintenance.

Key Concerns

  • Unpatched high severity CVE
  • Critical unsanitized path taint flows
  • Use of dangerous function 'exec'
  • Low output escaping percentage
  • No capability checks on entry points
Vulnerabilities
1

PDF 2 Post Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2025-32583high · 8.8Improper Control of Generation of Code ('Code Injection')

PDF 2 Post <= 2.4.0 - Authenticated (Subscriber+) Remote Code Execution

Apr 15, 2025Unpatched
Code Analysis
Analyzed Mar 16, 2026

PDF 2 Post Code Analysis

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

Dangerous Functions Found

exec$pythonVersion = exec($cmd, $outputArray);pdf2post.php:236
exec$appLocation = exec($cmdWhich, $outputArray);pdf2post.php:267
exec$appVersion = exec($cmd, $outputArray);pdf2post.php:273
exec$lastLine = exec($cmd, $outputArray);pdf2post.php:289
exec$exec_version = exec($v_cmd, $outputArray);pdf2post.php:299
exec$lastLine = exec($cmd, $output, $ret_var);pdf2post.php:731
exec$lastLine = exec($cmd, $output, $ret_var);pdf2post.php:736
exec$pdfToHTMLConversionOutputLastLine = exec($command, $output, $ret_val);pdf2post.php:803
exec$xmlExtractionOutputLastLine = exec($xml_extract_command, $output, $ret_val);pdf2post.php:817

Output Escaping

9% escaped33 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
handle_pdf (pdf2post.php:472)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

PDF 2 Post Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[pdf2post_demo] pdf2post.php:38
WordPress Hooks 2
actionadmin_menupdf2post.php:34
actionwp_enqueue_scriptspdf2post.php:42
Maintenance & Trust

PDF 2 Post Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedJul 7, 2020
PHP min version
Downloads10K

Community Trust

Rating90/100
Number of ratings4
Active installs100
Developer Profile

PDF 2 Post Developer Profile

termel

14 plugins · 800 total installs

83
trust score
Avg Security Score
84/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect PDF 2 Post

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/pdf2post/css/pdf2post.css
Version Parameters
pdf2post/css/pdf2post.css?ver=

HTML / DOM Fingerprints

Data Attributes
name="pdf2post_submit"id="selected_post_type_id"id="status_id"id="types_id"name="pdf2post_upload_nonce"
Shortcode Output
<div style="background: #f5f5f5; border-radius: 4px; padding: 1em; border: 1px solid #a3a3a3; font-size: 0.8rem;"><h3>Document processing results</h3><h2>Upload a File (single <em>.pdf</em> or a <em>.zip</em> containing <em>.pdf</em> files)</h2><form method="post" enctype="multipart/form-data">
FAQ

Frequently Asked Questions about PDF 2 Post