# User Role Editor <= 4.67 - Authenticated (Custom-level+) Privilege Escalation via User Profile 'Other Roles' Update

- **ID:** WPSEC-2026-3225
- **Plugin:** User Role Editor (`user-role-editor`), https://wordpress.org/plugins/user-role-editor/
- **Affected versions:** all versions before 4.67.1
- **Fixed in:** 4.67.1 (Update to 4.67.1 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-269
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/user-role-editor
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3225/

## Description

The User Role Editor plugin for WordPress is vulnerable to Privilege Escalation via the 'Other Roles' handling of the user profile update ('profile_update') action in all versions up to, and including, 4.67. This is due to the URE_User_Other_Roles::update() function adding every role submitted in the 'ure_other_roles' parameter that appears in the editable roles list, without preventing users from assigning roles to their own account and without checking whether those roles carry critical capabilities (such as manage_options, activate_plugins or edit_users) that the current user lacks. This makes it possible for authenticated attackers who have been granted the 'promote_users' capability through a custom role to grant themselves or other users additional roles with higher privileges, such as custom high-privilege roles, when such roles exist on the site.

## References

- https://wpsec.com/vuln/WPSEC-2026-3225/
- https://plugins.svn.wordpress.org/user-role-editor/tags/4.67.1/
- https://wordpress.org/plugins/user-role-editor/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3225/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
