The application fails to properly enforce role-based authorization during account creation. Although the system validates that the specified role exists, it does not verify whether the current user has sufficient privileges to assign highly privileged roles such as admin. As a result, an authenticated user with the editor role can create a new account with administrative privileges, leading to full administrative access and complete compromise of the CMS.
Successful exploitation allows an attacker to:
Formwork 2.3.4 properly assigns roles on user creation.
{
"cwe_ids": [
"CWE-269"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-19T20:31:07Z",
"nvd_published_at": "2026-02-21T06:17:00Z",
"severity": "HIGH"
}