Social Counter Widget Security & Risk Analysis

wordpress.org/plugins/social-counter-widget

This widget will display your RSS subscribers, Twitter followers and Facebook fans in one nice looking box.

20 active installs v0.8.1 PHP + WP 2.0.2+ Updated Dec 26, 2011
facebookrsssocial-countersocial-widgettwitter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Social Counter Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

The "social-counter-widget" plugin v0.8.1 exhibits a mixed security posture. On the positive side, it boasts a clean vulnerability history with no recorded CVEs and a complete absence of direct SQL injection risks due to the exclusive use of prepared statements. Furthermore, the plugin presents a remarkably small attack surface, with no AJAX handlers, REST API routes, shortcodes, or cron events exposed, significantly limiting potential entry points for attackers. External requests and bundled libraries are also absent, further reducing attack vectors.

However, the static analysis reveals significant concerns within the code itself. The presence of two dangerous functions, `unserialize` and `create_function`, immediately raises a red flag. `unserialize` is notoriously susceptible to object injection vulnerabilities if used with untrusted input, and `create_function` can lead to arbitrary code execution. The extremely low percentage of properly escaped output (13%) is another critical issue, suggesting a high likelihood of cross-site scripting (XSS) vulnerabilities. The lack of any nonce or capability checks on the identified entry points (even though there are none) indicates a potential for privilege escalation or unauthorized actions if entry points were to be added or discovered in future versions. While the current attack surface is zero, the potential for exploitation through the identified dangerous functions and unescaped output is substantial.

In conclusion, while the plugin's history and current attack surface appear secure, the underlying code quality regarding dangerous functions and output escaping presents a significant risk. These are fundamental security flaws that could be exploited if any untrusted data were to reach these vulnerable code paths. The plugin's strengths lie in its minimal attack surface and lack of historical vulnerabilities, but these are overshadowed by the critical code-level risks that require immediate attention.

Key Concerns

  • Dangerous function: unserialize
  • Dangerous function: create_function
  • Low output escaping (13%)
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Social Counter Widget Security Vulnerabilities

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

Social Counter Widget Code Analysis

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

Dangerous Functions Found

unserialize$stats = unserialize(file_get_contents($cacheFileName));social-counter-widget.php:32
create_functionadd_action('widgets_init', create_function('', 'return register_widget("SC_widget");'));social-counter-widget.php:114

Output Escaping

13% escaped30 total outputs
Attack Surface

Social Counter Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwidgets_initsocial-counter-widget.php:114
actionwp_print_stylessocial-counter-widget.php:115
Maintenance & Trust

Social Counter Widget Maintenance & Trust

Maintenance Signals

WordPress version tested3.1.4
Last updatedDec 26, 2011
PHP min version
Downloads11K

Community Trust

Rating100/100
Number of ratings1
Active installs20
Developer Profile

Social Counter Widget Developer Profile

d3wp

11 plugins · 2K total installs

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

How We Detect Social 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/social-counter-widget/css/social-counter.css
Version Parameters
social-counter-widget/css/social-counter.css?ver=

HTML / DOM Fingerprints

CSS Classes
sc-stats
Shortcode Output
<?php $stats->generate(); ?>
FAQ

Frequently Asked Questions about Social Counter Widget