# User Role Editor <= 4.67.1 - Authenticated (Custom-level+) Privilege Escalation via Incomplete Critical Capabilities List

- **ID:** WPSEC-2026-4308
- **Plugin:** User Role Editor (`user-role-editor`), https://wordpress.org/plugins/user-role-editor/
- **Affected versions:** all versions before 4.68
- **Fixed in:** 4.68 (Update to 4.68 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-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/user-role-editor
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4308/

## Description

The User Role Editor plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.67.1 due to an incomplete list of critical capabilities checked when roles are granted, which only covered manage_options, activate_plugins, delete_plugins, edit_users and delete_users. This makes it possible for authenticated attackers who were delegated the ability to assign roles to grant themselves or others roles carrying capabilities they do not hold, such as install_plugins, edit_themes, create_users, unfiltered_html, or the plugin's own ure_edit_roles and ure_manage_options capabilities, which can lead to full site compromise.

## References

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

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

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.
