Vulnerabilities/

StudioCMS has Privilege Escalation via Insecure API Token Generation

Severity:
High

Description

The /studiocms_api/dashboard/api-tokens endpoint allows any authenticated user (at least Editor) to generate API tokens for any other user, including owner and admin accounts. The endpoint fails to validate whether the requesting user is authorized to create tokens on behalf of the target user ID, resulting in a full privilege escalation.

Recommendation

Update the studiocms package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
studiocms
Anything's wrong? Let us know Last updated on March 10, 2026