Suntimes Widget Security & Risk Analysis

wordpress.org/plugins/suntimes-widget

Displays sunrise and sunset times in a widget

20 active installs v0.9.2 PHP + WP 3.0+ Updated Dec 16, 2014
longitudesunsunrisesunsetsuntimes
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Suntimes Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The suntimes-widget plugin, version 0.9.2, exhibits a mixed security posture. On the positive side, it demonstrates good practices by exclusively using prepared statements for SQL queries and has no recorded vulnerability history, suggesting a relatively stable and secure past. The absence of known CVEs and a limited attack surface (0 entry points) are also favorable indicators.

However, significant concerns arise from the static analysis. The presence of the `create_function` is a notable risk, as it can be exploited for code injection if user-supplied input is used without proper sanitization. More critically, 100% of the 17 output operations are not properly escaped. This indicates a high likelihood of Cross-Site Scripting (XSS) vulnerabilities, where an attacker could inject malicious scripts into the WordPress site through the plugin's output.

While the plugin's attack surface is currently minimal and there are no direct signs of dangerous taint flows or unpatched vulnerabilities, the lack of output escaping represents a substantial and easily exploitable security flaw. Developers should prioritize addressing the unescaped output and consider refactoring the use of `create_function` to mitigate these risks.

Key Concerns

  • Unescaped output detected
  • Use of dangerous function 'create_function'
Vulnerabilities
None known

Suntimes Widget Security Vulnerabilities

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

Suntimes Widget Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
17
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("SunTimesWidget");') );suntimes-widget.php:60

Output Escaping

0% escaped17 total outputs
Attack Surface

Suntimes Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initsuntimes-widget.php:60
Maintenance & Trust

Suntimes Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedDec 16, 2014
PHP min version
Downloads3K

Community Trust

Rating50/100
Number of ratings2
Active installs20
Developer Profile

Suntimes Widget Developer Profile

Jon Lynch

2 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 Suntimes Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
SunTimesWidget
Shortcode Output
<div id="suntimes"><ul><li>Sunrise:</li><li>Sunset:
FAQ

Frequently Asked Questions about Suntimes Widget