WP Post Statistics (Visitors & Visits Counter) Security & Risk Analysis

wordpress.org/plugins/wp-post-real-time-statistics

a simple tool to know your post statistics

2K active installs v2.9 PHP + WP 4.1+ Updated Mar 8, 2025
counterhitsstatisticsstats-analyticstraffic
91
A · Safe
CVEs total1
Unpatched0
Last CVEMay 27, 2022
Safety Verdict

Is WP Post Statistics (Visitors & Visits Counter) Safe to Use in 2026?

Generally Safe

Score 91/100

WP Post Statistics (Visitors & Visits Counter) has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 27, 2022Updated 1yr ago
Risk Assessment

The "wp-post-real-time-statistics" plugin v2.9 exhibits a concerning security posture primarily due to its exposed attack surface and lack of robust security checks. All identified entry points, which consist of three AJAX handlers, lack any form of authentication or capability checks. This means any user, regardless of their role or permissions, can potentially interact with these handlers, opening the door to unauthorized actions or information disclosure. The presence of a taint flow with an unsanitized path is a significant red flag, suggesting a potential for local file inclusion or path traversal vulnerabilities, although its critical and high severity ratings were zero, indicating it might not be exploitable in practice without further context.

The plugin's vulnerability history, with one known high-severity Cross-site Scripting (XSS) vulnerability from May 2022, highlights past security weaknesses. While this specific vulnerability is currently patched, the pattern of past security issues, coupled with the present lack of nonce checks and capability checks on critical entry points, suggests a recurring need for more stringent security practices within the plugin's development. The moderate percentage of prepared statements for SQL queries and the generally good output escaping are positive aspects, but they are overshadowed by the significant gaps in authorization and input validation on its AJAX endpoints. The plugin's overall security is weakened by these fundamental oversights, despite some good practices in other areas.

Key Concerns

  • AJAX handlers without auth checks
  • Taint flow with unsanitized path
  • No nonce checks
  • No capability checks
  • Known high severity vulnerability history
  • SQL queries not fully using prepared statements
Vulnerabilities
1

WP Post Statistics (Visitors & Visits Counter) Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

WF-907329af-2ff0-475e-b4b2-3ac7ae4b9ced-wp-post-real-time-statisticshigh · 7.2Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Post Statistics (Visitors & Visits Counter) <= 2.5 - Cross-Site Scripting

May 27, 2022 Patched in 2.6 (606d)
Code Analysis
Analyzed Mar 16, 2026

WP Post Statistics (Visitors & Visits Counter) Code Analysis

Dangerous Functions
0
Raw SQL Queries
7
3 prepared
Unescaped Output
13
46 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
1
Bundled Libraries
0

SQL Query Safety

30% prepared10 total queries

Output Escaping

78% escaped59 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<index> (index.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
3 unprotected

WP Post Statistics (Visitors & Visits Counter) Attack Surface

Entry Points3
Unprotected3

AJAX Handlers 3

authwp_ajax_poststats_first_chartindex.php:86
authwp_ajax_poststats_countries_tableindex.php:92
authwp_ajax_poststats_cities_tableindex.php:98
WordPress Hooks 6
filtermanage_posts_columnsindex.php:18
actionmanage_posts_custom_columnindex.php:56
filtermanage_edit-post_sortable_columnsindex.php:66
actionadmin_enqueue_scriptsindex.php:72
actionwp_headindex.php:76
actionadmin_enqueue_scriptsPostStatsHelper.php:176
Maintenance & Trust

WP Post Statistics (Visitors & Visits Counter) Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 8, 2025
PHP min version
Downloads29K

Community Trust

Rating96/100
Number of ratings4
Active installs2K
Developer Profile

WP Post Statistics (Visitors & Visits Counter) Developer Profile

osama.esh

2 plugins · 22K total installs

56
trust score
Avg Security Score
67/100
Avg Patch Time
313 days
View full developer profile
Detection Fingerprints

How We Detect WP Post Statistics (Visitors & Visits Counter)

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-post-real-time-statistics/css/jquery.jqplot.min.css/wp-content/plugins/wp-post-real-time-statistics/css/jquery-ui.css/wp-content/plugins/wp-post-real-time-statistics/css/style.css/wp-content/plugins/wp-post-real-time-statistics/js/jquery.jqplot.min.js/wp-content/plugins/wp-post-real-time-statistics/js/jqplot.cursor.min.js/wp-content/plugins/wp-post-real-time-statistics/js/jqplot.pointLabels.min.js/wp-content/plugins/wp-post-real-time-statistics/js/jqplot.barRenderer.js/wp-content/plugins/wp-post-real-time-statistics/js/jqplot.canvasAxisTickRenderer.js+5 more
Version Parameters
wp-post-real-time-statistics/css/jquery.jqplot.min.css?ver=wp-post-real-time-statistics/css/jquery-ui.css?ver=wp-post-real-time-statistics/css/style.css?ver=wp-post-real-time-statistics/js/jquery.jqplot.min.js?ver=wp-post-real-time-statistics/js/jqplot.cursor.min.js?ver=wp-post-real-time-statistics/js/jqplot.pointLabels.min.js?ver=wp-post-real-time-statistics/js/jqplot.barRenderer.js?ver=wp-post-real-time-statistics/js/jqplot.canvasAxisTickRenderer.js?ver=wp-post-real-time-statistics/js/jqplot.canvasTextRenderer.js?ver=wp-post-real-time-statistics/js/jqplot.pieRenderer.js?ver=wp-post-real-time-statistics/js/jqplot.dateAxisRenderer.js?ver=wp-post-real-time-statistics/js/jqplot.categoryAxisRenderer.js?ver=wp-post-real-time-statistics/js/main.js?ver=

HTML / DOM Fingerprints

Data Attributes
POSTSTATS_PLUGIN_URLPOSTSTATS_ADMIN_AJAX
JS Globals
POSTSTATS_PLUGIN_URLPOSTSTATS_ADMIN_AJAX
REST Endpoints
/wp-json/poststats_first_chart/wp-json/poststats_countries_table/wp-json/poststats_cities_table
FAQ

Frequently Asked Questions about WP Post Statistics (Visitors & Visits Counter)