Shortcode for Current Date Security & Risk Analysis

wordpress.org/plugins/shortcode-for-current-date

Insert current Date, Month or Year anywhere in your WordPress site with a simple shortcode.

10K active installs v2.2.2 PHP + WP 5.0+ Updated Dec 22, 2025
current-datemonthshortcodeyear
99
A · Safe
CVEs total2
Unpatched0
Last CVEJul 7, 2022
Safety Verdict

Is Shortcode for Current Date Safe to Use in 2026?

Generally Safe

Score 99/100

Shortcode for Current Date has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Jul 7, 2022Updated 3mo ago
Risk Assessment

The "shortcode-for-current-date" plugin version 2.2.2 presents a mixed security posture. While it demonstrates good practices by not utilizing dangerous functions, performing all SQL queries with prepared statements, and avoiding file operations and external HTTP requests, several areas raise concern. The presence of an unprotected AJAX handler represents a significant entry point that could be exploited without proper authentication. Furthermore, the plugin exhibits a 50% rate of unescaped output, indicating a risk of Cross-Site Scripting (XSS) vulnerabilities, which aligns with its vulnerability history. The plugin has a history of two medium-severity CVEs, both related to XSS, with the last vulnerability discovered in July 2022. The absence of any unpatched vulnerabilities is positive, but the recurring XSS pattern combined with the unprotected AJAX handler suggests that inputs are not being handled with sufficient rigor. In conclusion, while the plugin has some strengths in its code handling, the unprotected entry point and unescaped outputs create tangible risks that need to be addressed.

Key Concerns

  • Unprotected AJAX handler
  • 50% of outputs not properly escaped
  • History of medium XSS vulnerabilities
Vulnerabilities
2

Shortcode for Current Date Security Vulnerabilities

CVEs by Year

2 CVEs in 2022
2022
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

WF-1917eabd-0ba2-4878-87ea-8c0c9c00b6f5-shortcode-for-current-datemedium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Shortcode For Current Date <= 2.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting

Jul 7, 2022 Patched in 2.1.7 (940d)
WF-350719b1-0e88-4f6f-979e-0ac3d17b852b-shortcode-for-current-datemedium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Shortcode for Current Date <= 2.1.4 - Stored Cross-Site Scripting

Apr 5, 2022 Patched in 2.1.5 (658d)
Code Analysis
Analyzed Mar 17, 2026

Shortcode for Current Date Code Analysis

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

Output Escaping

50% escaped6 total outputs
Attack Surface
1 unprotected

Shortcode for Current Date Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 1

authwp_ajax_sfcdReviewNoticeHideincludes\sfcd-admin-notices.php:21

Shortcodes 1

[current_date] shortcode-for-current-date.php:38
WordPress Hooks 9
actionadmin_noticesincludes\sfcd-admin-notices.php:20
actionadmin_menuincludes\sfcd-menu-page.php:12
actionadmin_enqueue_scriptsincludes\sfcd-menu-page.php:13
actionadmin_menuincludes\sfcd-welcome-page.php:12
actionadmin_initincludes\sfcd-welcome-page.php:13
actionadmin_enqueue_scriptsincludes\sfcd-welcome-page.php:14
actionadmin_headincludes\sfcd-welcome-page.php:15
filterthe_titleshortcode-for-current-date.php:139
actioninitshortcode-for-current-date.php:140
Maintenance & Trust

Shortcode for Current Date Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 22, 2025
PHP min version
Downloads252K

Community Trust

Rating100/100
Number of ratings115
Active installs10K
Developer Profile

Shortcode for Current Date Developer Profile

Imtiaz Rayhan

7 plugins · 16K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
313 days
View full developer profile
Detection Fingerprints

How We Detect Shortcode for Current Date

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/shortcode-for-current-date/assets/admin/css/welcome.css/wp-content/plugins/shortcode-for-current-date/assets/admin/css/bootstrap.min.css
Script Paths
/wp-content/plugins/shortcode-for-current-date/dist/editor.js/wp-content/plugins/shortcode-for-current-date/dist/script.js
Version Parameters
shortcode-for-current-date/assets/admin/css/welcome.css?ver=shortcode-for-current-date/assets/admin/css/bootstrap.min.css?ver=shortcode-for-current-date/dist/editor.js?ver=shortcode-for-current-date/dist/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
sfcd-date
Shortcode Output
<p class="sfcd-date" style="font-size:">
FAQ

Frequently Asked Questions about Shortcode for Current Date