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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 14.8%, higher than 96% of CVEs (2026-12-01)
- Published: 2021-03-26T20:15:14.000Z
- Modified: 2026-07-08T06:28:55.844Z
- Also known as: GHSA-m6j4-8r7p-wpp3
- Weaknesses: CWE-863
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- buddypress BuddyPress: >= 5.0.0, < 7.2.1; from 5.0.0 before 7.2.1
- buddypress/buddypress (Packagist): from 5.0.0 before 7.2.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3> (third-party-advisory, web)
- <https://buddypress.org/2021/03/buddypress-7-2-1-security-release/> (release-notes, vendor-advisory)
- <https://codex.buddypress.org/releases/version-7-2-1/> (release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21389> (advisory)
- <https://buddypress.org/2021/03/buddypress-7-2-1-security-release> (web)
- <https://codex.buddypress.org/releases/version-7-2-1> (web)
- <https://github.com/buddypress/BuddyPress> (package)

## Sources

- CVE List: [CVE-2021-21389](https://www.cve.org/CVERecord?id=CVE-2021-21389), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-m6j4-8r7p-wpp3](https://github.com/advisories/GHSA-m6j4-8r7p-wpp3), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21389](https://nvd.nist.gov/vuln/detail/CVE-2021-21389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21389 · Whole record: https://cve.day/CVE-2021-21389.json · Rebuilt by cve.day 2026-11-25T22:58:00.471Z
