{"id":"CVE-2021-21389","aliases":["CVE-2021-21389","GHSA-m6j4-8r7p-wpp3"],"related":[],"kind":"vulnerability","state":"published","title":"BuddyPress privilege escalation via REST API","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nIt's possible for a non-privileged, regular user to obtain administrator rights by exploiting an issue in the BuddyPress REST API members endpoint.\n\n### Patches\nThe vulnerability has been fixed in BuddyPress 7.2.1. Existing installations of the plugin should be updated to this version to mitigate the issue.\n\n### References\nhttps://buddypress.org/2021/03/buddypress-7-2-1-security-release/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [HackerOne](https://hackerone.com/wordpress)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2021-03-26T20:15:14.000Z","modified":"2026-07-08T06:28:55.844Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","score":9,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 5.0.0, < 7.2.1","status":"affected"}],"vendor":"buddypress","product":"BuddyPress","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"7.2.1"}],"ecosystem":"Packagist","package":"buddypress/buddypress","purl":"pkg:composer/buddypress/buddypress","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"7.2.1"}],"vendor":"buddypress","product":"buddypress","cpe":"cpe:2.3:a:buddypress:buddypress:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release/","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://codex.buddypress.org/releases/version-7-2-1/","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21389","tags":["advisory"],"sources":["ghsa"]},{"url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release","tags":["web"],"sources":["ghsa"]},{"url":"https://codex.buddypress.org/releases/version-7-2-1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/buddypress/BuddyPress","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21389","url":"https://www.cve.org/CVERecord?id=CVE-2021-21389","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:15.798Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m6j4-8r7p-wpp3","url":"https://github.com/advisories/GHSA-m6j4-8r7p-wpp3","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:55.844Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21389","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21389","licence":"Public domain","modified":"2026-06-17T03:35:28.250Z"}],"updatedAt":"2026-11-25T22:58:00.471Z","epss":{"score":0.14811,"percentile":0.96767,"date":"2026-12-01T12:00:22.000Z"}}