PT-2026-24820 · Git+3 · Studiocms
Filipegaudard
·
Published
2026-03-11
·
Updated
2026-03-12
·
CVE-2026-32103
CVSS v3.1
7.2
High
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
StudioCMS versions prior to 0.4.3
Description
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.Recommendations
Versions prior to 0.4.3 should be updated to version 0.4.3 or later.
Exploit
Fix
IDOR
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Studiocms