bStat Security & Risk Analysis

wordpress.org/plugins/bstats

Log and analyze activity.

10 active installs v6.1 PHP + WP 3.7+ Updated Unknown
activityactivity-streambsuitestatswebstats
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is bStat Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The "bstats" v6.1 plugin exhibits a mixed security posture. On the positive side, it demonstrates good practices by using prepared statements for all SQL queries and having no recorded vulnerabilities in its history, suggesting a generally secure development process or minimal exposure. However, the static analysis reveals significant security concerns, primarily related to its attack surface. All six identified AJAX handlers lack authentication checks, presenting a substantial risk for unauthorized actions. Furthermore, while most outputs are properly escaped, the presence of one flow with an unsanitized path flagged as high severity taint is a critical concern that could lead to various security issues if exploited. The lack of capability checks on AJAX handlers exacerbates these risks, allowing any authenticated user, regardless of their role, to potentially interact with these vulnerable endpoints.

Key Concerns

  • AJAX handlers without authentication checks
  • High severity unsanitized taint flow
  • AJAX handlers without capability checks
  • Outputs not properly escaped
Vulnerabilities
None known

bStat Security Vulnerabilities

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

bStat Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
5 prepared
Unescaped Output
17
55 escaped
Nonce Checks
1
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared5 total queries

Output Escaping

76% escaped72 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
<bstat-viewer> (components\templates\bstat-viewer.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
6 unprotected

bStat Attack Surface

Entry Points6
Unprotected6

AJAX Handlers 6

authwp_ajax_bstatcomponents\class-bstat-admin.php:6
noprivwp_ajax_bstatcomponents\class-bstat-admin.php:7
authwp_ajax_bstat_report_goal_itemscomponents\class-bstat-report.php:15
authwp_ajax_bstat_report_goal_flowcomponents\class-bstat-report.php:16
authwp_ajax_bstat_report_top_sessionscomponents\class-bstat-report.php:17
authwp_ajax_bstat_report_top_userscomponents\class-bstat-report.php:18
WordPress Hooks 21
actionwp_insert_commentcomponents\class-bstat-comments.php:10
actiondelete_commentcomponents\class-bstat-comments.php:13
actioncomment_approved_to_unapprovedcomponents\class-bstat-comments.php:14
actioncomment_approved_to_spamcomponents\class-bstat-comments.php:15
actioncomment_approved_to_trashcomponents\class-bstat-comments.php:16
actioncomment_unapproved_to_approvedcomponents\class-bstat-comments.php:17
actionedit_commentcomponents\class-bstat-comments.php:18
actioncomment_postcomponents\class-bstat-comments.php:19
actioninitcomponents\class-bstat-report.php:14
actionadmin_menucomponents\class-bstat-report.php:60
actionadmin_noticescomponents\class-bstat-report.php:80
actionuser_registercomponents\class-bstat-wpcore.php:11
actionset_auth_cookiecomponents\class-bstat-wpcore.php:14
actionactivated_plugincomponents\class-bstat-wpcore.php:17
actiondeactivated_plugincomponents\class-bstat-wpcore.php:18
actionwidget_update_callbackcomponents\class-bstat-wpcore.php:22
actioninitcomponents\class-bstat.php:20
actiontemplate_redirectcomponents\class-bstat.php:43
actionbstat_insertcomponents\class-bstat.php:55
actionset_auth_cookiecomponents\class-bstat.php:58
actionparse_querycomponents\class-bstat.php:61
Maintenance & Trust

bStat Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedUnknown
PHP min version
Downloads6K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

bStat Developer Profile

Casey Bisson

7 plugins · 290 total installs

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

How We Detect bStat

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/bstats/css/bstat-report.css/wp-content/plugins/bstats/js/bstat-report.js
Script Paths
/wp-content/plugins/bstats/js/bstat-report.js
Version Parameters
bstats/css/bstat-report.css?ver=bstats/js/bstat-report.js?ver=

HTML / DOM Fingerprints

CSS Classes
bstats-report
HTML Comments
comment tracking is kept separate as an example of how to build other integrations
Data Attributes
data-role="goal-flow"
JS Globals
bstats_report_vars
REST Endpoints
/wp-json/bstats/v1/sessions/wp-json/bstats/v1/goals/wp-json/bstats/v1/goal
FAQ

Frequently Asked Questions about bStat