An authentication bypass exists in the DevKit Pro plugin for WordPress. The issue occurs because the `revert switch` handler trusts the `original user id` cookie, which is controlled by the attacker, as the privileged identity. The `verify nonce and capability()` function incorrectly checks the `manage options` capability on the user identified by the cookie instead of the actual requester via `current user can()`. Additionally, a valid session-bound nonce and the switch-back form are publicly emitted via `wp footer` to any visitor, including unauthenticated users, when the cookie is present. An unauthenticated attacker can set the `original user id` cookie to an administrator's ID, obtain the rendered nonce, and send it to the `revert switch` handler. This triggers `wp set auth cookie()` with the administrator's ID, granting the attacker a full administrator session and complete site takeover.