8.1high
BuddyPress privilege escalation via REST API
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 14.8% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m6j4-8r7p-wpp3
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| buddypress BuddyPress | >= 5.0.0, < 7.2.1, from 5.0.0 before 7.2.1 | CVE List, NVD |
| buddypress/buddypress (Packagist) | from 5.0.0 before 7.2.1 | GitHub Advisory Database |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.0high CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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
NVD (es)
BuddyPress es un plugin de WordPress de código abierto para crear un sitio comunitario. En versiones de BuddyPress de 5.0.0 versiones anteriores a 7.2.1, es posible para un usuario regular sin privilegios obtener derechos de administrador al explotar un problema en el endpoint de los miembros de la API REST. La vulnerabilidad ha sido corregida en BuddyPress versión 7.2.1. Las instalaciones existentes del plugin deben actualizarse a esta versión para mitigar el problema.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21389 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m6j4-8r7p-wpp3 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-21389 changed 2026-06-17 | Public domain |