CVE-2021-21389
PHP vulnerability analysis and mitigation

Overview

BuddyPress, an open source WordPress plugin for building community sites, was found to contain a critical security vulnerability (CVE-2021-21389) affecting versions from 5.0.0 to 7.2.0. The vulnerability was discovered and privately reported by Kien Hoang to the BuddyPress team, and was patched in version 7.2.1 released on March 16, 2021 (BuddyPress Release, GitHub Advisory).

Technical details

The vulnerability existed in the BuddyPress REST API members endpoint (buddypress/v1/members/me). The issue received a CVSS v3.1 base score of 8.8 (High) from NVD and 8.1 (High) from GitHub, indicating its serious nature. The vulnerability was classified as an Incorrect Authorization (CWE-863) issue (NVD).

Impact

The vulnerability allowed a non-privileged, regular user to obtain administrator rights through the REST API members endpoint. This privilege escalation could give attackers full administrative access to the WordPress site, potentially compromising the entire website's security (GitHub Advisory, WPScan).

Exploitability

The vulnerability could be exploited by any authenticated user with regular user privileges, requiring only access to the REST API members endpoint. The attack vector was network-accessible (CVSS:3.1/AV:N) with low attack complexity (CVSS:3.1/AC:L) (NVD).

Mitigation and workarounds

The vulnerability was fixed in BuddyPress version 7.2.1. Site administrators running affected versions (5.0.0 to 7.2.0) were strongly encouraged to update to version 7.2.1 immediately. No alternative workarounds were provided, making the update the only reliable mitigation strategy (BuddyPress Release).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management