Drafts of Post Revisions Security & Risk Analysis

wordpress.org/plugins/drafts-of-post-revisions

Create drafts of WordPress posts/pages/CPTs even after they've been published

30 active installs v0.8.1 PHP + WP 3.4+ Updated Dec 21, 2013
post-statusrevisionstatusworkflow
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Drafts of Post Revisions Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The "drafts-of-post-revisions" plugin v0.8.1 demonstrates a mixed security posture. On the positive side, the plugin exhibits no known historical vulnerabilities (CVEs) and has no recorded critical or high-severity taint flows. All SQL queries are properly prepared, and there are no external HTTP requests, reducing the attack surface in those areas. However, there are significant concerns regarding output escaping and the use of dangerous functions.

The static analysis reveals that 100% of the plugin's outputs are not properly escaped. This is a critical security weakness as it opens the door to Cross-Site Scripting (XSS) vulnerabilities, where malicious code could be injected and executed within the user's browser. Furthermore, the plugin utilizes the `create_function` function four times, which is deprecated and considered a security risk due to its potential for code injection if not handled with extreme caution. The absence of any nonce checks on the identified entry points, although the attack surface is currently zero, is a missed security best practice.

Given the complete lack of historical vulnerabilities, the plugin may have been developed with security in mind, or simply hasn't been a target. However, the identified code signals, particularly the lack of output escaping and the use of `create_function`, represent immediate and actionable security risks that should be addressed. While the plugin currently has no entry points with missing authentication, future updates or modifications could introduce vulnerabilities if these core issues are not resolved. Overall, the plugin's current state is risky due to the unescaped output and dangerous function usage, despite its clean vulnerability history.

Key Concerns

  • No output escaping
  • Dangerous functions used (create_function)
  • No nonce checks on entry points
Vulnerabilities
None known

Drafts of Post Revisions Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Drafts of Post Revisions Code Analysis

Dangerous Functions
4
Raw SQL Queries
0
8 prepared
Unescaped Output
5
0 escaped
Nonce Checks
0
Capability Checks
4
File Operations
4
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

create_function$term_names = array_map(create_function('$term', 'return $term->name;'), $terms);Admin\Diff.php:49
create_functionuasort($notices, create_function('$a, $b', 'return $a[\'position\'] < $b[\'position\'] ? -1 : 1;'));Admin\Notice.php:98
create_functioncreate_function(core.php:266
create_functioncreate_function(core.php:329

SQL Query Safety

100% prepared8 total queries

Output Escaping

0% escaped5 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
dpr_revision (core.php:141)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Drafts of Post Revisions Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
filter_wp_post_revision_fieldsAdmin\Diff.php:28
actionadmin_noticesAdmin\Notice.php:55
actionpre_post_updatecore.php:40
actiondpr_draft_to_publishcore.php:42
actionadmin_menucore.php:44
actionadmin_headcore.php:46
actionadd_meta_boxescore.php:48
actionadmin_print_scriptscore.php:51
actionadmin_footer-post.phpcore.php:54
actionload-revision.phpcore.php:57
actionpublish_to_trashcore.php:59
actionadmin_print_scriptscore.php:290
actioninitPostdrafter.php:18
actiondeleted_postPostdrafter.php:20
Maintenance & Trust

Drafts of Post Revisions Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedDec 21, 2013
PHP min version
Downloads5K

Community Trust

Rating98/100
Number of ratings7
Active installs30
Developer Profile

Drafts of Post Revisions Developer Profile

daxitude

2 plugins · 60 total installs

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

How We Detect Drafts of Post Revisions

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/drafts-of-post-revisions/assets/dpr.dev.js
Script Paths
/wp-content/plugins/drafts-of-post-revisions/assets/dpr.dev.js
Version Parameters
drafts-of-post-revisions/assets/dpr.dev.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-dpr-confirm-delete
JS Globals
wp.autosave.local.setDatawp.autosave.local.checkPost
Shortcode Output
[dpr-notice][dpr-revision-link][dpr-post-link]
FAQ

Frequently Asked Questions about Drafts of Post Revisions