Counter Widget Security & Risk Analysis

wordpress.org/plugins/counter-widget

Widget for displaying post, category, comment and user count.

100 active installs v1.0 PHP + WP 3.5+ Updated Dec 22, 2015
category-countcomment-countmember-countpost-countuser-count
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Counter Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The "counter-widget" plugin v1.0 exhibits a seemingly strong security posture based on the provided static analysis and vulnerability history. The absence of any identified attack surface entry points, dangerous functions, or taint flows is a positive indicator. Furthermore, the plugin's vulnerability history is clean, with no known CVEs, suggesting a lack of past security incidents. The use of prepared statements for all SQL queries is also a commendable security practice.

However, a significant concern arises from the output escaping analysis. With 38 total outputs and 0% properly escaped, this indicates a critical vulnerability. Any user-supplied data that is displayed on the frontend without proper sanitization or escaping can lead to Cross-Site Scripting (XSS) attacks. The lack of capability checks and nonce checks, while not directly flagged as issues in this specific analysis, can also be problematic if the plugin were to introduce entry points in the future without these security measures.

In conclusion, while the plugin avoids common pitfalls like SQL injection and direct attack surface exposure, the severe lack of output escaping presents a high risk of XSS vulnerabilities. The absence of historical vulnerabilities might be due to the plugin's simplicity or limited adoption, rather than a proven track record of robust security. The developer should prioritize addressing the output escaping issue to mitigate the XSS risk.

Key Concerns

  • 0% properly escaped output
Vulnerabilities
None known

Counter Widget Security Vulnerabilities

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

Counter Widget Code Analysis

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

Output Escaping

0% escaped38 total outputs
Attack Surface

Counter Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwp_enqueue_scriptscounter_widget.php:25
actionwidgets_initcounter_widget.php:32
Maintenance & Trust

Counter Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedDec 22, 2015
PHP min version
Downloads7K

Community Trust

Rating80/100
Number of ratings1
Active installs100
Developer Profile

Counter Widget Developer Profile

cyberbundle

6 plugins · 630 total installs

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

How We Detect Counter Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/counter-widget/css/cwStyle.css

HTML / DOM Fingerprints

CSS Classes
counter-widgetpost-countcategory-countcomment-countuser-count
Data Attributes
id="cw-post-title"name="cw-post-title"id="display_post_count"name="display_post_count"id="cw-category-title"name="cw-category-title"+10 more
FAQ

Frequently Asked Questions about Counter Widget