Vulnerability library
Security checkMarch 10, 2026

StudioCMS has Privilege Escalation via Insecure API Token Generation

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmstudiocms

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): <= 0.3.0
  • Patched version(s): 0.4.0

References

Could your website be exposed too?

SmartScanner can check your website for StudioCMS has Privilege Escalation via Insecure API Token Generation and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 10, 2026