Post Draft Preview Security & Risk Analysis

wordpress.org/plugins/post-draft-preview

Allow non logged-in users to check a draft of unpublished post by using secret link

700 active installs v1.2.2 PHP 7.4+ WP 5.5+ Updated Feb 21, 2024
draft-previewpost-draftpost-previewpublic-link
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Post Draft Preview Safe to Use in 2026?

Generally Safe

Score 85/100

Post Draft Preview has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The 'post-draft-preview' plugin v1.2.2 exhibits a strong security posture based on the provided static analysis. The complete absence of identified entry points like AJAX handlers, REST API routes, shortcodes, and cron events significantly minimizes its attack surface. Furthermore, the code analysis reveals good practices in terms of dangerous functions, file operations, and external HTTP requests, all of which are reported as zero. The presence of nonce and capability checks, along with a high percentage of properly escaped outputs and the use of prepared statements for SQL queries, indicates careful development and adherence to WordPress security best practices.

Despite the generally positive findings, there are no critical vulnerabilities or taint flows identified, and the plugin has a clean history with no known CVEs. This suggests a well-maintained and secure codebase. However, the analysis of SQL queries shows that 50% are not using prepared statements, which, while not a critical issue in isolation given the limited number of queries and the absence of direct user input to these queries in the provided data, represents a potential area for improvement and a minor risk if these queries were to become more complex or exposed to untrusted input in future versions.

In conclusion, 'post-draft-preview' v1.2.2 appears to be a secure plugin with a minimal attack surface and good development practices. The lack of any recorded vulnerabilities or significant code-level risks is commendable. The only minor concern is the use of non-prepared SQL statements for half of the queries, which is a small weakness in an otherwise robust security profile. Users can generally have confidence in the security of this plugin.

Key Concerns

  • SQL queries not using prepared statements
Vulnerabilities
None known

Post Draft Preview Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Post Draft Preview Release Timeline

v1.2.2Current
v1.2.1
v1.2.0.1
v1.2.0
v1.1.3
v1.1.2
v1.1.1
Code Analysis
Analyzed Mar 16, 2026

Post Draft Preview Code Analysis

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

SQL Query Safety

50% prepared4 total queries

Output Escaping

86% escaped22 total outputs
Attack Surface

Post Draft Preview Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
filterthe_postssrc\Post\Draft.php:46
Maintenance & Trust

Post Draft Preview Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedFeb 21, 2024
PHP min version7.4
Downloads5K

Community Trust

Rating66/100
Number of ratings4
Active installs700
Developer Profile

Post Draft Preview Developer Profile

WP Served

4 plugins · 810 total installs

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

How We Detect Post Draft Preview

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/post-draft-preview/dist/styles/front.css/wp-content/plugins/post-draft-preview/dist/scripts/manifest.js/wp-content/plugins/post-draft-preview/dist/scripts/front.js/wp-content/plugins/post-draft-preview/dist/styles/admin.css/wp-content/plugins/post-draft-preview/dist/scripts/admin.js
Script Paths
/wp-content/plugins/post-draft-preview/dist/scripts/manifest.js/wp-content/plugins/post-draft-preview/dist/scripts/front.js/wp-content/plugins/post-draft-preview/dist/scripts/admin.js
Version Parameters
post-draft-preview/dist/styles/front.css?ver=post-draft-preview/dist/scripts/manifest.js?ver=post-draft-preview/dist/scripts/front.js?ver=post-draft-preview/dist/styles/admin.css?ver=post-draft-preview/dist/scripts/admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
pdp_hashpdp_status
REST Endpoints
/wp-json/pdp/v1/data/autogenerate/wp-json/pdp/v1/data/remove/wp-json/pdp/v1/data/reset/wp-json/pdp/v1/post/change-status
FAQ

Frequently Asked Questions about Post Draft Preview