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

Published Mar 26, 2021
·
Updated

Impact It's possible for a non-privileged, regular user to obtain administrator rights by exploiting an issue in the BuddyPress REST API members endpoint.

Patches The vulnerability has been fixed in BuddyPress 7.2.1. Existing installations of the plugin should be updated to this version to mitigate the issue.

References https://buddypress.org/2021/03/buddypress-7-2-1-security-release/

For more information If you have any questions or comments about this advisory: Open an issue in HackerOne

Other sources

BuddyPress is an open source WordPress plugin to build a community site. In releases of BuddyPress from 5.0.0 before 7.2.1 it's possible for a non-privileged, regular user to obtain administrator rights by exploiting an issue in the REST API members endpoint. The vulnerability has been fixed in BuddyPress 7.2.1. Existing installations of the plugin should be updated to this version to mitigate the issue.

— MITRE

BuddyPress privilege escalation via REST API

— Packagist

Affected Software

3 affected componentsFixes available
BuddyPress Buddypress Wordpress>=5.0.0<7.2.1
composer/buddypress/buddypress>=5.0.0, <7.2.1
7.2.1
composer/buddypress/buddypress>=5.0.0<7.2.1
7.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/buddypress/buddypress to a version that resolves this vulnerability.

    Fixed in 7.2.1
  2. Upgrade

    Upgrade BuddyPress to a version that resolves this vulnerability.

    Fixed in 7.2.1

Event History

Mar 26, 2021
CVE Published
via MITRE·08:15 PM
Data Sourced
via MITRE·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
May 31, 2021
Exploit Published
via GitHub·02:12 PM
Oct 6, 2021
Advisory Published
via GitHub·05:46 PM
Data Sourced
via GitHub·05:46 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·05:46 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-21389 vulnerability in BuddyPress?

CVE-2021-21389 in BuddyPress allows non-privileged users to gain administrator rights through the REST API members endpoint.

2

How severe is CVE-2021-21389 vulnerability in BuddyPress?

CVE-2021-21389 in BuddyPress has a severity rating of 8.8 (Critical).

3

Is there a fix available for CVE-2021-21389 vulnerability in BuddyPress?

Yes, the vulnerability has been fixed in BuddyPress version 7.2.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203