Budibase is an open-source low-code platform. Prior to 3.39.25, GET /api/users/metadata and GET /api/users/metadata/:id returned user objects processed by packages/server/src/utilities/global.ts without removing oauth2.accessToken or oauth2.refreshToken. A user with the POWER role could retrieve the identity-provider credentials of SSO-authenticated users and use the refresh tokens for persistent access to connected services. This issue is fixed in version 3.39.25.
https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
https://github.com/Budibase/budibase/releases/tag/3.39.25
https://github.com/Budibase/budibase/pull/19110
https://github.com/Budibase/budibase/commit/80a31f6c3354620aa90e50af8a2c614333084621