BuddyPress Community Stats Security & Risk Analysis

wordpress.org/plugins/buddypress-community-stats

This plugin will display your buddypress community total counts for members, status updates, group forums topics, posts(bbPress 1.

40 active installs v0.5.1 PHP + WP + Updated Oct 28, 2011
buddypresscountsmembermember-statsstats
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is BuddyPress Community Stats Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

The Buddypress Community Stats plugin v0.5.1 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by having a minimal attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events that are exposed without proper authentication or permission checks. Furthermore, the absence of external HTTP requests and file operations reduces the potential for certain types of remote code execution and data leakage. The presence of a nonce check and a generally low number of SQL queries, with a good percentage using prepared statements, are also encouraging signs.

However, significant concerns arise from the static code analysis. The use of the `create_function()` is a clear indicator of a potentially dangerous coding practice that can be exploited. More critically, the analysis reveals that 0% of the total 22 output operations are properly escaped. This is a substantial security risk, as it opens the door to Cross-Site Scripting (XSS) vulnerabilities, where user-supplied input could be rendered directly in the browser, allowing for malicious script execution. The taint analysis, while showing no critical or high severity flows with unsanitized paths, does not negate the XSS risk identified by the lack of output escaping.

The plugin's vulnerability history is remarkably clean, with no known CVEs. This absence of past vulnerabilities might suggest a history of careful development or a lack of prior scrutiny. However, it is crucial not to solely rely on this history, especially given the identified coding issues in the current version. The plugin's strengths lie in its limited attack surface and control over external interactions, but the lack of output escaping and the use of `create_function()` present clear and exploitable risks that need immediate attention.

Key Concerns

  • Use of dangerous function create_function()
  • 0% of outputs properly escaped
Vulnerabilities
None known

BuddyPress Community Stats Security Vulnerabilities

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

BuddyPress Community Stats Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("etivite_bp_community_stats_Wbp-community-stats-widget.php:5

SQL Query Safety

80% prepared5 total queries

Output Escaping

0% escaped22 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
etivite_bp_community_stats_admin (admin\bp-community-stats-admin.php:24)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

BuddyPress Community Stats Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 16
actionbp_footerbp-community-stats-loader.php:30
actionbp_includebp-community-stats-loader.php:35
actionwp_dashboard_setupbp-community-stats-loader.php:54
filterplugin_action_linksbp-community-stats-loader.php:73
actionwidgets_initbp-community-stats-widget.php:5
actionbp_register_widgetsbp-community-stats-widget.php:7
actionbp_activity_deletebp-community-stats.php:125
actionbp_activity_posted_updatebp-community-stats.php:131
actionwp_loginbp-community-stats.php:180
actionbp_core_activated_userbp-community-stats.php:181
actiongroups_delete_groupbp-community-stats.php:254
actiongroups_new_group_forumbp-community-stats.php:255
actiongroups_delete_group_forum_postbp-community-stats.php:256
actionbp_forums_new_postbp-community-stats.php:257
actiongroups_delete_group_forum_topicbp-community-stats.php:258
actionbp_forums_new_topicbp-community-stats.php:259
Maintenance & Trust

BuddyPress Community Stats Maintenance & Trust

Maintenance Signals

WordPress version tested
Last updatedOct 28, 2011
PHP min version
Downloads12K

Community Trust

Rating20/100
Number of ratings1
Active installs40
Developer Profile

BuddyPress Community Stats Developer Profile

rich! @ etiviti

10 plugins · 200 total installs

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

How We Detect BuddyPress Community Stats

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/buddypress-community-stats/bp-community-stats.css/wp-content/plugins/buddypress-community-stats/js/bp-community-stats.js
Script Paths
/wp-content/plugins/buddypress-community-stats/js/bp-community-stats.js
Version Parameters
buddypress-community-stats/bp-community-stats.css?ver=buddypress-community-stats/js/bp-community-stats.js?ver=

HTML / DOM Fingerprints

CSS Classes
bp-community-stats-footercommunity-count
JS Globals
etivite_bp_community_stats
Shortcode Output
[bp_community_stats_members][bp_community_stats_active][bp_community_stats_status][bp_community_stats_groups]
FAQ

Frequently Asked Questions about BuddyPress Community Stats