CVE-2021-21389: BuddyPress privilege escalation via REST API

buddypress/buddypress Updated 02 Oct 2025

Summary

06/10/2021
Yes i
High
8.1

CVE-2021-21389: BuddyPress privilege escalation via REST API. Affects buddypress/buddypress versions >= 5.0.0, < 7.2.1. Fixed in 7.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

BuddyPress is a popular WordPress plugin that adds social networking features to websites. It provides functionality for creating and managing user profiles, groups, activity streams, and more. The plugin is widely used and has a large user base. However, a vulnerability has been discovered in the BuddyPress REST API members endpoint, which allows non-privileged users to obtain administrator rights.

Vulnerability Detail

The vulnerability in the BuddyPress REST API members endpoint allows regular users to escalate their privileges and gain administrator rights. By exploiting this issue, an attacker can perform actions that are typically restricted to administrators, such as modifying user profiles, creating or deleting groups, and accessing sensitive information. This can lead to unauthorized access, data breaches, and other malicious activities. The vulnerability has a CVSS score of 8.1, indicating a high severity level.

How To Fix

Minimum fixed version

7.2.1

This is the first release that contains the fix.

composer require buddypress/buddypress:7.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the latest version of BuddyPress to ensure the security of the application.

Conclusion

The BuddyPress privilege escalation vulnerability via the REST API can allow non-privileged users to obtain administrator rights, leading to unauthorized access and potential data breaches. It is crucial to update BuddyPress to version 7.2.1 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for buddypress/buddypress →

Share this vulnerability

FAQ

BuddyPress is a WordPress plugin that adds social networking features to websites. It allows users to create profiles, join groups, and interact with each other.

The vulnerability allows regular users to gain administrator rights, enabling them to perform actions that are typically restricted to administrators. This can lead to unauthorized access, data breaches, and other malicious activities.

To fix this vulnerability, update BuddyPress to version 7.2.1 or later. This version includes a patch that addresses the security issue.

No, there is no known workaround for this vulnerability. It is essential to update to the latest version of BuddyPress to ensure the security of the application.

For more information, you can refer to the official BuddyPress website and the security release announcement for version 7.2.1.

Related vulnerabilities

Recent vulnerabilities recorded for buddypress/buddypress.

How To Fix

Minimum fixed version

7.2.1

This is the first release that contains the fix.

composer require buddypress/buddypress:7.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback