WP Date and Time Shortcode Security & Risk Analysis

wordpress.org/plugins/wp-date-and-time-shortcode

Shortcode to show any current, past, and future date or time. Display this, previous, or next year, month, day, etc.

10K active installs v2.7 PHP 7.4+ WP 4.0+ Updated Dec 8, 2025
dateshortcodeshortcodestimewpdts
99
A · Safe
CVEs total1
Unpatched0
Last CVEMar 31, 2025
Safety Verdict

Is WP Date and Time Shortcode Safe to Use in 2026?

Generally Safe

Score 99/100

WP Date and Time Shortcode has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Mar 31, 2025Updated 3mo ago
Risk Assessment

The "wp-date-and-time-shortcode" plugin v2.7 exhibits a mixed security posture. While the static analysis reveals no critical code signals like dangerous functions or raw SQL queries, and importantly, no unprotected entry points, there are significant concerns regarding output escaping. A mere 8% of outputs are properly escaped, indicating a high likelihood of Cross-Site Scripting (XSS) vulnerabilities. The vulnerability history also points to a past XSS vulnerability, reinforcing the output escaping concern. The absence of nonce and capability checks on its shortcodes, which represent the entire attack surface, further amplifies the risk associated with the poor output escaping, as any input processed by these shortcodes could be vulnerable to injection attacks.

Key Concerns

  • Low percentage of properly escaped output
  • Lack of capability checks on shortcodes
  • Lack of nonce checks on shortcodes
  • Past XSS vulnerability history
Vulnerabilities
1

WP Date and Time Shortcode Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

WP Date and Time Shortcode <= 2.6.7 - Authenticated (Contributor+) Stored Cross-Site Scripting

Mar 31, 2025 Patched in 2.6.8 (10d)
Code Analysis
Analyzed Mar 16, 2026

WP Date and Time Shortcode Code Analysis

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

Output Escaping

8% escaped25 total outputs
Attack Surface

WP Date and Time Shortcode Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[wpdts] plugin\classes\WPDateAndTimeShortcode.php:170
[wp-dt] plugin\classes\WPDateAndTimeShortcode.php:172
[wp_dt] plugin\classes\WPDateAndTimeShortcode.php:173
WordPress Hooks 5
actioninitdenra-plugins\classes\Plugin.php:56
actioninitplugin\classes\WPDateAndTimeShortcode.php:120
actionadmin_initplugin\classes\WPDateAndTimeShortcode.php:121
actionadmin_noticesplugin\classes\WPDateAndTimeShortcode.php:158
actionplugins_loadedwp-date-and-time-shortcode.php:55
Maintenance & Trust

WP Date and Time Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 8, 2025
PHP min version7.4
Downloads142K

Community Trust

Rating98/100
Number of ratings31
Active installs10K
Developer Profile

WP Date and Time Shortcode Developer Profile

Denra.com

3 plugins · 11K total installs

92
trust score
Avg Security Score
97/100
Avg Patch Time
10 days
View full developer profile
Detection Fingerprints

How We Detect WP Date and Time Shortcode

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-date-and-time-shortcode/static/css/admin.css/wp-content/plugins/wp-date-and-time-shortcode/static/js/admin.js/wp-content/plugins/wp-date-and-time-shortcode/static/css/user.css/wp-content/plugins/wp-date-and-time-shortcode/static/js/user.js
Script Paths
/wp-content/plugins/wp-date-and-time-shortcode/denra-plugins/classes/FrameworkLoader.php/wp-content/plugins/wp-date-and-time-shortcode/denra-plugins/classes/PluginHooks.php

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about WP Date and Time Shortcode