StudioCMS is a server-side-rendered, Astro native, headless content management system. The `POST /studiocms api/dashboard/create-reset-link` endpoint allows any authenticated user with admin privileges to generate a password reset token for any other user, including the owner account. The handler verifies that the caller is an admin but does not enforce role hierarchy, nor does it validate that the target `userId` matches the caller's identity. Combined with the `POST /studiocms api/dashboard/reset-password` endpoint, this allows a complete account takeover of the highest-privileged account in the system. The vulnerable code is located in the file `packages/studiocms/frontend/pages/studiocms api/dashboard/create-reset-link.ts`. The issue stems from a lack of caller identity validation and role hierarchy enforcement during password reset generation, treating it as a generic admin operation instead of a self-service operation with scope restrictions. The generated reset token is returned directly in the HTTP response body, enabling an attacker to use it with the reset-password endpoint to set an arbitrary password for the target account.