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)
- Affected
- all versions before 4.67.1
- Remediation
- Update to 4.67.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-269
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-16
- Attack surface
- User Role Editor on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS