{"id":"GHSA-m6j4-8r7p-wpp3","aliases":["CVE-2021-21389"],"title":"BuddyPress privilege escalation via REST API","description":"### 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)","severity":"high","score":8.1,"published":"2021-10-06T17:46:55.000Z","modified":"2026-07-08T06:28:55.844Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"buddypress/buddypress","ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"7.2.1"}],"type":"ECOSYSTEM"}],"versions":["5.0.0","5.1.0","5.1.0-beta1","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","6.0.0","6.0.0-RC1","6.0.0-RC2","6.0.0-beta1","6.0.0-beta2","6.1.0","6.2.0","6.2.0-beta1","6.3.0","6.4.0","6.4.2","6.4.3","7.0.0","7.0.0-RC1","7.0.0-RC2","7.0.0-beta1","7.0.0-beta2","7.1.0","7.2.0"],"fixed":["7.2.1"]}],"references":["https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3","https://nvd.nist.gov/vuln/detail/CVE-2021-21389","https://buddypress.org/2021/03/buddypress-7-2-1-security-release","https://codex.buddypress.org/releases/version-7-2-1","https://github.com/buddypress/BuddyPress"],"sources":[{"name":"OSV","id":"GHSA-m6j4-8r7p-wpp3","modified":"2026-07-08T06:28:55.844552312Z","url":"https://osv.dev/vulnerability/GHSA-m6j4-8r7p-wpp3"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1}]}