Buddypress Friends Security & Risk Analysis

wordpress.org/plugins/buddypress-friends

This plugin adds a widget to Buddypress that displays the friends for the current user that is logged in.

10 active installs v1.2 PHP + WP 2.9+ Updated Dec 10, 2011
avatarsbuddypressbuddypress-friendsfriendssocial-networking
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Buddypress Friends Safe to Use in 2026?

Generally Safe

Score 85/100

Buddypress Friends 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-friends" v1.2 plugin exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices in handling SQL queries, utilizing prepared statements exclusively, and has no recorded vulnerabilities or CVEs. The absence of external HTTP requests, file operations, and bundled libraries also reduces potential attack vectors. However, significant concerns arise from the static analysis. The presence of the `create_function` is a clear indicator of potential for arbitrary code execution. Furthermore, the low percentage of properly escaped output (21%) suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into user interfaces.

While the attack surface appears minimal with no exposed AJAX handlers, REST API routes, shortcodes, or cron events without authentication checks, the identified code signals present direct risks. The `create_function` usage is particularly worrying as it can be exploited to bypass security checks and execute arbitrary PHP code. The poor output escaping means that data displayed to users is not properly sanitized, making XSS attacks a probable outcome. The lack of any recorded vulnerabilities in its history might suggest a history of responsible development or simply a lack of prior security scrutiny, but the current code quality raises immediate alarms that outweigh the absence of past issues.

Key Concerns

  • Presence of dangerous function create_function
  • Low percentage of properly escaped output
  • No nonce checks on entry points (though none exist)
  • No capability checks on entry points (though none exist)
Vulnerabilities
None known

Buddypress Friends Security Vulnerabilities

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

Buddypress Friends Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
27
7 escaped
Nonce Checks
0
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("BuddypressFriends");'));buddypress-friends.php:160

Output Escaping

21% escaped34 total outputs
Attack Surface

Buddypress Friends Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initbuddypress-friends.php:160
Maintenance & Trust

Buddypress Friends Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedDec 10, 2011
PHP min version
Downloads16K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Buddypress Friends Developer Profile

Adam Nowak

5 plugins · 70 total installs

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

How We Detect Buddypress Friends

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/buddypress-friends/includes/css/buddypress-friends.css/wp-content/plugins/buddypress-friends/includes/js/buddypress-friends.js

HTML / DOM Fingerprints

CSS Classes
widget_buddypress_friends
HTML Comments
<!-- Title Input Field --><!-- Default Friends --><!-- Width --><!-- Height -->+3 more
Data Attributes
id="buddypress_friends"class="widget buddypress_friends"
FAQ

Frequently Asked Questions about Buddypress Friends