Default Post Date and Time Security & Risk Analysis

wordpress.org/plugins/default-post-datetime

Set the default date and time when you create a new post.

70 active installs v1.3.1 PHP + WP 3.8+ Updated Dec 3, 2023
admin
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Default Post Date and Time Safe to Use in 2026?

Generally Safe

Score 85/100

Default Post Date and Time 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 'default-post-datetime' plugin v1.3.1 exhibits a strong security posture in terms of its attack surface and vulnerability history. The absence of AJAX handlers, REST API routes, shortcodes, and cron events, particularly without authentication checks, significantly limits potential entry points for attackers. Furthermore, the plugin has no recorded vulnerabilities, including CVEs, which suggests a history of stable and secure development. This lack of a vulnerability history also implies that if any issues were present, they have been addressed or were not severe enough to warrant public disclosure.

However, the static analysis reveals several areas of concern that could lead to security weaknesses if not managed carefully. The presence of a SQL query that does not use prepared statements is a significant risk, potentially opening the door to SQL injection vulnerabilities. Additionally, a substantial number of output operations are not properly escaped, which poses a risk of Cross-Site Scripting (XSS) attacks. While capability checks are in place, the lack of nonce checks on potential entry points (though none were identified in the attack surface) and the fact that a portion of output is unescaped are notable weaknesses.

In conclusion, while the plugin benefits from a minimal attack surface and a clean vulnerability history, the identified code signals, specifically the unescaped output and raw SQL query, represent tangible security risks. The plugin's current version does not appear to have known exploitable vulnerabilities, but these underlying code practices necessitate attention to prevent future security incidents. A proactive approach to code review and updating these specific areas would further solidify its security.

Key Concerns

  • SQL queries without prepared statements
  • Unescaped output detected
Vulnerabilities
None known

Default Post Date and Time Security Vulnerabilities

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

Default Post Date and Time Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

0% escaped14 total outputs
Attack Surface

Default Post Date and Time Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionplugins_loadeddefault-post-datetime.php:155
filterplugin_row_metadefault-post-datetime.php:158
filterwp_insert_post_datadefault-post-datetime.php:161
actionadmin_menudefault-post-datetime.php:164
actionshow_user_profiledefault-post-datetime.php:167
actionedit_user_profiledefault-post-datetime.php:168
actionpersonal_options_updatedefault-post-datetime.php:169
actionedit_user_profile_updatedefault-post-datetime.php:170
Maintenance & Trust

Default Post Date and Time Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedDec 3, 2023
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs70
Developer Profile

Default Post Date and Time Developer Profile

Greg Ross

34 plugins · 8K total installs

80
trust score
Avg Security Score
88/100
Avg Patch Time
39 days
View full developer profile
Detection Fingerprints

How We Detect Default Post Date and Time

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

Asset Fingerprints

Version Parameters
default-post-datetime/style.css?ver=default-post-datetime/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wrapfieldsetlegend
FAQ

Frequently Asked Questions about Default Post Date and Time