Better time-based greetings Widget Security & Risk Analysis

wordpress.org/plugins/better-time-based-greeting-widget

A Widget to show text messages depending on the current time.

10 active installs v1.0 PHP + WP 3.1+ Updated Sep 23, 2012
widget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Better time-based greetings Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Better time-based greetings Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The plugin 'better-time-based-greeting-widget' v1.0 exhibits a mixed security posture. On the positive side, the plugin demonstrates a strong adherence to secure database practices, with 100% of its SQL queries utilizing prepared statements. It also shows no known vulnerability history, indicating a potentially well-maintained codebase in the past. Furthermore, there are no external HTTP requests or file operations, which inherently reduces certain attack vectors. However, several critical concerns are present. The use of the deprecated and insecure `create_function` is a significant security risk, as it can be exploited to execute arbitrary PHP code under certain circumstances. Additionally, a complete lack of output escaping for all identified output points (23 total) is a major vulnerability, exposing the plugin to Cross-Site Scripting (XSS) attacks. The absence of nonce checks and capability checks on any potential entry points, while the static analysis reports zero entry points, suggests that if any were introduced or exist in a way not detected, they would be unprotected. In conclusion, while the plugin has strengths in database security and a clean vulnerability history, the presence of `create_function` and pervasive lack of output escaping are critical weaknesses that require immediate attention.

Key Concerns

  • Use of create_function
  • No output escaping for any output
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Better time-based greetings Widget Security Vulnerabilities

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

Better time-based greetings Widget Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("time_based_greetings_Widget"better-time-based-greeting-widget.php:143

Output Escaping

0% escaped23 total outputs
Attack Surface

Better time-based greetings Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_print_footer_scriptsbetter-time-based-greeting-widget.php:17
actionwidgets_initbetter-time-based-greeting-widget.php:143
Maintenance & Trust

Better time-based greetings Widget Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedSep 23, 2012
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Better time-based greetings Widget Developer Profile

Carsten Bach

3 plugins · 50 total installs

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

How We Detect Better time-based greetings Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
time_based_greetingscurrent-timewhats-ontimed-greet-elementfrom-to
Data Attributes
id="better-time-based-greeting-widget"name="better-time-based-greeting-widget"
JS Globals
jQuery$
FAQ

Frequently Asked Questions about Better time-based greetings Widget