
WP Counter Security & Risk Analysis
wordpress.org/plugins/wp-counterWP Counter is a simple visitor counter of your site.
Is WP Counter Safe to Use in 2026?
Generally Safe
Score 85/100WP Counter has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The wp-counter plugin v1.2 exhibits a mixed security posture. On the positive side, it demonstrates good practices in its handling of SQL queries, with all 10 queries utilizing prepared statements. Furthermore, the absence of known CVEs and a clean vulnerability history suggest a generally stable and well-maintained codebase. The limited attack surface, with only two shortcodes and no AJAX handlers or REST API routes directly exposed, is also a positive indicator.
However, significant concerns arise from the static analysis. The most critical is the taint analysis, which reveals two flows with unsanitized paths, classified as high severity. While there are no directly exploitable entry points without authentication in this version, these unsanitized paths represent potential avenues for attackers to inject malicious data that could lead to unintended behavior or vulnerabilities later on if the data is processed insecurely. The low percentage of properly escaped output (31%) is another notable weakness. This indicates that user-supplied or dynamic data is not consistently being sanitized before being displayed, opening the door for Cross-Site Scripting (XSS) vulnerabilities.
In conclusion, while the plugin has a clean external vulnerability history and employs secure SQL practices, the internal code analysis highlights critical risks associated with unsanitized data flows and insufficient output escaping. These internal code weaknesses are more concerning than the absence of external CVEs, as they represent inherent flaws that could be exploited. Addressing the high-severity taint flows and improving output escaping should be prioritized.
Key Concerns
- High severity taint flow with unsanitized path (x2)
- Low percentage of properly escaped output
- No nonce checks on entry points
- No capability checks on entry points
WP Counter Security Vulnerabilities
WP Counter Release Timeline
WP Counter Code Analysis
SQL Query Safety
Output Escaping
Data Flow Analysis
WP Counter Attack Surface
Shortcodes 2
WordPress Hooks 6
Maintenance & Trust
WP Counter Maintenance & Trust
Maintenance Signals
Community Trust
WP Counter Alternatives
Live Visitor Counter
wp-visitors-widget
Wordpress Live Visitor Counter allows you to display how many times a page has been viewed with this simple, fast and easy to use the plugin.
Post Views Counter
post-views-counter
Post Views Counter allows you to collect and display how many times a post, page, or other content has been viewed in a simple, fast and reliable way.
WP-PostViews
wp-postviews
Enables you to display how many times a post/page had been viewed.
Wp Social Login and Register Social Counter
wp-social
Wp social lets you add social login, social counter, and social share buttons of different styles to your WordPress website.
StatCounter – Free Real Time Visitor Stats
official-statcounter-plugin-for-wordpress
StatCounter.com powered real-time detailed stats about the visitors to your blog.
WP Counter Developer Profile
2 plugins · 920 total installs
How We Detect WP Counter
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/wp-counter/js/functions.jshttps://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.min.jswp-counter/js/functions.js?ver=HTML / DOM Fingerprints
dashiconsdashicons-chart-areadashicons-calendar-alt<table width="100%"><tr><td colspan="2"><strong><span class="dashicons dashicons-chart-area"></span> Visitor Status</strong></td></tr>