StatCounter Popular Posts Security & Risk Analysis

wordpress.org/plugins/statcounter-popular-posts

Displays Popular Posts From StatCounter stats as a widget. Only you have to do is make the stats public and give the project ID to this plugin.

10 active installs v0.2.2 PHP + WP 3.0.1+ Updated Unknown
popularpostsstatcounterstats
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is StatCounter Popular Posts Safe to Use in 2026?

Generally Safe

Score 100/100

StatCounter Popular Posts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "statcounter-popular-posts" plugin version 0.2.2 exhibits a concerning security posture despite a lack of documented vulnerabilities and a minimal attack surface. The code analysis reveals significant weaknesses, most notably the use of dangerous functions like `unserialize` and `create_function`. The complete absence of output escaping for all analyzed outputs is a critical flaw, exposing the plugin to Cross-Site Scripting (XSS) vulnerabilities. Additionally, the presence of file operations and the lack of nonce and capability checks on potential entry points (though none are currently identified) are red flags that could be exploited if the attack surface were to expand or be discovered.

The taint analysis, while not identifying critical or high severity flows, found two flows with unsanitized paths. Coupled with the complete lack of output escaping, these flows represent a direct risk. The vulnerability history showing no known CVEs is positive but should not be seen as a guarantee of security, especially given the identified code quality issues. The plugin's strengths lie in its small attack surface and use of prepared statements for SQL queries. However, these are overshadowed by the fundamental security missteps in handling user input and output, and the reliance on potentially insecure functions.

Key Concerns

  • Use of dangerous function: unserialize
  • Use of dangerous function: create_function
  • 0% of outputs properly escaped
  • Unsanitized paths in taint flows
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

StatCounter Popular Posts Security Vulnerabilities

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

StatCounter Popular Posts Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
3 prepared
Unescaped Output
12
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
8
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserialize$info = unserialize(file_get_contents($root . "/pop_data.txt" ));sc-popular-posts.php:186
create_functionadd_action('widgets_init', create_function('', 'return register_widget(\'SPP\');'));sc-popular-posts.php:228

SQL Query Safety

100% prepared3 total queries

Output Escaping

0% escaped12 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
SCPP_optPage (sc-popular-posts.php:12)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

StatCounter Popular Posts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_menusc-popular-posts.php:41
actionwidgets_initsc-popular-posts.php:228
Maintenance & Trust

StatCounter Popular Posts Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedUnknown
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

StatCounter Popular Posts Developer Profile

subins2000

3 plugins · 60 total installs

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

How We Detect StatCounter Popular Posts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/statcounter-popular-posts/css/style.css
Version Parameters
statcounter-popular-posts/css/style.css?ver=

HTML / DOM Fingerprints

CSS Classes
spp_widget
Data Attributes
id="spp_widget"name="spp_widget"
JS Globals
SPP
FAQ

Frequently Asked Questions about StatCounter Popular Posts