WP Comment Stats Security & Risk Analysis

wordpress.org/plugins/wp-comment-stats

Shows detailed stats of your WordPress comments based on original plugin 'Comment Stats' - https://wordpress.org/plugins/comment-stats/

10 active installs v1.0.3 PHP + WP 3.9.25+ Updated Jul 13, 2018
commentsdashboard-comment-statsstats
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Comment Stats Safe to Use in 2026?

Generally Safe

Score 85/100

WP Comment Stats has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The wp-comment-stats plugin, version 1.0.3, exhibits a mixed security posture. On one hand, it demonstrates good practices by having a very small attack surface with no apparent AJAX handlers, REST API routes, shortcodes, or cron events that are exposed. Furthermore, there are no known past vulnerabilities or CVEs associated with this plugin, suggesting a history of responsible development. However, the static analysis reveals significant concerns within the code itself.

The most prominent issues lie in the handling of SQL queries and output escaping. A substantial 67% of SQL queries are not using prepared statements, posing a risk of SQL injection if user-supplied data is not meticulously handled elsewhere. Compounding this, only 4% of outputs are properly escaped, indicating a high probability of cross-site scripting (XSS) vulnerabilities. The taint analysis further supports these concerns, revealing one flow with an unsanitized path and a high severity taint, directly linking potentially dangerous input to sensitive operations without adequate sanitization.

Despite the lack of known external vulnerabilities, the internal code quality, particularly regarding SQL and output sanitization, presents a considerable risk. The absence of nonce checks on any entry points (which are zero in this case) and limited capability checks also mean that any discovered vulnerabilities could potentially be exploited without robust authorization mechanisms. The plugin's strengths are its minimal attack surface and clean vulnerability history, but these are overshadowed by significant risks in data handling practices within the code.

Key Concerns

  • High percentage of SQL queries not using prepared statements
  • Low percentage of outputs properly escaped
  • High severity taint flow with unsanitized path
  • No nonce checks on entry points
Vulnerabilities
None known

WP Comment Stats Security Vulnerabilities

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

WP Comment Stats Code Analysis

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

SQL Query Safety

33% prepared6 total queries

Output Escaping

4% escaped46 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
<wp-comment-stats> (wp-comment-stats.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Comment Stats Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actioninitwp-comment-dashboard.php:12
actionwp_dashboard_setupwp-comment-dashboard.php:16
actionadmin_enqueue_scriptswp-comment-dashboard.php:17
actioninitwp-comment-stats.php:37
actionadmin_menuwp-comment-stats.php:41
actionadmin_enqueue_scriptswp-comment-stats.php:42
Maintenance & Trust

WP Comment Stats Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedJul 13, 2018
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Comment Stats Developer Profile

jammy to go

1 plugin · 10 total installs

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

How We Detect WP Comment Stats

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-comment-stats/css/plugin.css

HTML / DOM Fingerprints

CSS Classes
popular-link
FAQ

Frequently Asked Questions about WP Comment Stats