{"id":"CVE-2021-21389","aliases":["EUVD-2021-2224","GHSA-m6j4-8r7p-wpp3"],"status":"published","title":"BuddyPress privilege escalation via REST API","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.14811,"percentile":0.96728,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-863"],"published":"2021-03-26T20:15:14Z","modified":"2026-10-20T10:54:28Z","exploits":[{"source":"pocgithub","id":"HoangKien1020/CVE-2021-21389","title":"HoangKien1020/CVE-2021-21389","date":"2021-05-31","url":"https://github.com/HoangKien1020/CVE-2021-21389"},{"source":"pocgithub","id":"mynameSumin/CVE-2021-21389","title":"mynameSumin/CVE-2021-21389","date":"2024-12-09","url":"https://github.com/mynameSumin/CVE-2021-21389"},{"source":"nuclei","id":"CVE-2021-21389","title":"BuddyPress REST API  \u003c7.2.1 - Privilege Escalation/Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21389.yaml"}],"fixes":[{"ecosystem":"Packagist","package":"buddypress/buddypress","fixed_in":["7.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"buddypress/buddypress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"7.2.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"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"]}],"products":[{"vendor":"buddypress","product":"buddypress"},{"vendor":"wordpress","product":"buddypress"}],"references":[{"url":"https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://codex.buddypress.org/releases/version-7-2-1/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21389","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m6j4-8r7p-wpp3"},{"url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release","tags":["web"]},{"url":"https://codex.buddypress.org/releases/version-7-2-1","tags":["web"]},{"url":"https://github.com/buddypress/BuddyPress","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-21389","title":"BuddyPress privilege escalation via REST API","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.","status":"published","published":"2021-03-26T20:15:14Z","modified":"2024-08-03T18:09:15.798Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:33:00.137099Z"}],"euvd":[{"id":"EUVD-2021-2224","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.","status":"published","published":"2021-03-26T20:15:14Z","modified":"2024-08-03T18:09:15Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:06.913643Z"}],"ghsa":[{"id":"GHSA-m6j4-8r7p-wpp3","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)","status":"published","published":"2021-10-06T17:46:55Z","modified":"2023-02-01T05:06:21Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-21389","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.","status":"published","published":"2021-03-26T21:15:13.52Z","modified":"2026-06-17T03:35:28.25Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:06:51.197859Z"}],"osv":[{"id":"CVE-2021-21389","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.","status":"published","published":"2021-03-26T21:15:13.52Z","modified":"2026-10-20T10:54:28.484032412Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.004149Z"},{"id":"GHSA-m6j4-8r7p-wpp3","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)","status":"published","published":"2021-10-06T17:46:55Z","modified":"2026-07-08T06:28:55.844552312Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
