In BuddyPress before 5.1.2, requests to a certain REST API endpoint can result in private user data getting exposed. Authentication is not needed.
This has been patched in version 5.1.2.
References:- https://github.com/buddypress/BuddyPress/security/advisories/GHSA-3j78-7m59-r7gv
- https://github.com/buddypress/BuddyPress/commit/39294680369a0c992290577a9d740f4a2f2c2ca3
- https://buddypress.org/2020/01/buddypress-5-1-2/
- https://nvd.nist.gov/vuln/detail/CVE-2020-5244
- https://github.com/advisories/GHSA-3j78-7m59-r7gv