CVE-2021-21389
HIGH 8.8CVSS 3.1BuddyPress privilege escalation via REST API
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.
- Published
- 26 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-m6j4-8r7p-wpp3
- Sources
- NVDJSONOSV GHSA-m6j4-8r7p-wpp3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | buddypress | buddypresscpe:2.3:a:buddypress:buddypress:*:*:*:*:*:wordpress:*:* |
>= 5.0.0, < 7.2.1 | 7.2.1 |
| OSV | Packagist | buddypress/buddypress | >= 5.0.0, < 7.2.1 | 7.2.1 |
References
- https://buddypress.org/2021/03/buddypress-7-2-1-security-release/ · Release Notes, Vendor Advisory, WEB
- https://codex.buddypress.org/releases/version-7-2-1/ · Release Notes, Vendor Advisory, WEB
- https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21389 · ADVISORY
- https://github.com/buddypress/BuddyPress · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Mar 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Oct 2021)