Digital Clock Security & Risk Analysis

wordpress.org/plugins/digital-clock

The Digital Clock plugin adds a customizable sidebar clock that auto-adjusts to your timezone. Easy to use, it features dark and light themes.

300 active installs v1.1.5 PHP 7.2+ WP 5.0+ Updated Nov 2, 2024
clockdigital-clocksidebar-clockwidget-clock
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Digital Clock Safe to Use in 2026?

Generally Safe

Score 92/100

Digital Clock has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The plugin 'digital-clock' v1.1.5 presents a mixed security posture. On the positive side, it has no known vulnerabilities (CVEs) recorded, and its static analysis reveals no dangerous functions, no raw SQL queries, and no file operations or external HTTP requests. This suggests a generally well-written plugin with good practices for handling sensitive operations. The absence of taint analysis findings further strengthens this view, indicating no obvious data leakage or injection vulnerabilities through analyzed flows.

However, there are significant areas for concern. The plugin has no recorded capability checks or nonce checks, and all AJAX handlers and REST API routes are reported as being unprotected. This is a critical weakness, as it means any user, regardless of their role or authentication status, could potentially trigger any functionality exposed through these entry points. Furthermore, a substantial percentage of output is not properly escaped, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The presence of a shortcode as the only entry point, while not inherently bad, becomes a risk when combined with the lack of any input validation or output escaping for its associated logic.

In conclusion, while the plugin avoids common pitfalls like vulnerable SQL queries or dangerous functions, its failure to implement basic security measures like authentication and authorization checks for its primary interaction points (AJAX, REST API) and its lack of output escaping for displayed data make it a significant security risk. The absence of vulnerability history is encouraging, but the identified weaknesses in code analysis demand immediate attention.

Key Concerns

  • 0% output properly escaped
  • 0 capability checks
  • 0 nonce checks
  • 0 unprotected AJAX handlers
  • 0 unprotected REST API routes
Vulnerabilities
None known

Digital Clock Security Vulnerabilities

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

Digital Clock Code Analysis

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

Output Escaping

0% escaped4 total outputs
Attack Surface

Digital Clock Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[dgc_shortcode] digital-clock.php:31
WordPress Hooks 4
actionadmin_menudgc_menu.php:3
actionadmin_initdgc_menu.php:18
actionwidgets_initdigital-clock.php:19
actionwp_enqueue_scriptsdigital-clock.php:30
Maintenance & Trust

Digital Clock Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedNov 2, 2024
PHP min version7.2
Downloads13K

Community Trust

Rating86/100
Number of ratings3
Active installs300
Developer Profile

Digital Clock Developer Profile

Mehedi Hasan kanon

3 plugins · 300 total installs

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

How We Detect Digital Clock

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/digital-clock/assets/css/style.css/wp-content/plugins/digital-clock/assets/js/momoent.js/wp-content/plugins/digital-clock/assets/js/script.js
Script Paths
/wp-content/plugins/digital-clock/assets/js/momoent.js/wp-content/plugins/digital-clock/assets/js/script.js

HTML / DOM Fingerprints

CSS Classes
lightdarkdisplayweekdaysampmdigitsdgc_clock2Date+3 more
Data Attributes
id='dgc_clock'id='dgc_clock2'id='Date'id='hours'id='point'id='min'+1 more
Shortcode Output
<div id='dgc_clock' class=''><div class='display'><div class='weekdays'></div><div class='ampm'></div><div class='digits'></div></div></div><div id='dgc_clock2'><div id='Date'></div><ul><li id='hours'></li><li id='point'>:</li><li id='min'></li><li id='point'>:</li><li id='sec'></li></ul></div>
FAQ

Frequently Asked Questions about Digital Clock