CVE-2021-21389
JSON

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 packageVersionsReported by
buddypress BuddyPress>= 5.0.0, < 7.2.1, from 5.0.0 before 7.2.1CVE List, NVD
buddypress/buddypress (Packagist)from 5.0.0 before 7.2.1GitHub Advisory Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV: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:

NVD (es)

BuddyPress es un plugin de WordPress de código abierto para crear un sitio comunitario.&#xa0;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.&#xa0;La vulnerabilidad ha sido corregida en BuddyPress versión 7.2.1.&#xa0;Las instalaciones existentes del plugin deben actualizarse a esta versión para mitigar el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21389 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-m6j4-8r7p-wpp3 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-21389 changed 2026-06-17Public domain