{"id":"GHSA-m6j4-8r7p-wpp3","summary":"BuddyPress privilege escalation via REST API","details":"### 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)","aliases":["CVE-2021-21389"],"modified":"2026-07-08T06:28:55.844552312Z","published":"2021-10-06T17:46:55Z","database_specific":{"cwe_ids":["CWE-863"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-10-06T16:57:01Z","nvd_published_at":"2021-03-26T21:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21389"},{"type":"WEB","url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release"},{"type":"WEB","url":"https://codex.buddypress.org/releases/version-7-2-1"},{"type":"PACKAGE","url":"https://github.com/buddypress/BuddyPress"}],"affected":[{"package":{"name":"buddypress/buddypress","ecosystem":"Packagist","purl":"pkg:composer/buddypress/buddypress"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"7.2.1"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-m6j4-8r7p-wpp3/GHSA-m6j4-8r7p-wpp3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}