Description
StudioCMS is a server-side-rendered, Astro native, headless content management system. Prior to 0.4.4, the REST API `getUsers` endpoint in StudioCMS uses the attacker-controlled `rank` query parameter to decide whether owner accounts should be filtered from the result set. As a result, an admin token can request `rank=owner` and receive owner account records, including IDs, usernames, display names, and email addresses, even though the adjacent `getUser` endpoint correctly blocks admins from viewing owner users. This is an authorization inconsistency inside the same user-management surface. Version 0.4.4 fixes the issue.
Problem types
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
References
github.com/...diocms/security/advisories/GHSA-xvf4-ch4q-2m24
github.com/...ommit/aebe8bcb3618bb07c6753e3f5c982c1fe6adea64
github.com/...udiocms/studiocms/releases/tag/studiocms@0.4.4