NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
HIGH severity

CVE-2026-125301 — Syammohanm WPFront User Role Editor

HIGH

CVE-2026-125301 is a high-severity (CVSS 7.5) Improper Privilege Management vulnerability in syammohanm WPFront User Role Editor. Versions up to 4.2.5 are affected; the records list no fixed version yet, so check the vendor advisory below.

The WPFront User Role Editor plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in all versions up to, and including, 4.2.5 The vulnerability…

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Description

The WPFront User Role Editor plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in all versions up to, and including, 4.2.5 The vulnerability exists because the User Switching feature writes the switch-back user stack to the object cache under a site-wide, user-agnostic key (wpfront_ure_user_switching_stack_<COOKIEHASH>) with no TTL, while get_switched_users_stack() short-circuits all validation on a cache hit — returning the cached administrator stack after only confirming that a cookie with the matching name is present, bypassing Utils::decrypt(), the COOKIEHASH comparison, and the 12-hour expiry check — and admin_bar_menu_actions() renders the switch-back UI node with no current_user_can() check, and the current_user_can(self::CAP) gate in switch_user() executes only after wp_set_current_user($admin_id) has already replaced the request context, causing it to evaluate against the administrator's capabilities rather than the attacker's. This makes it possible for authenticated attackers with Subscriber-level access and above to obtain a valid switch-back nonce bound to their own ID, trigger wp_set_auth_cookie() for an administrator account, and achieve complete site takeover — including the ability to manage options, install plugins, edit themes, and manipulate user accounts. Exploitation requires that a persistent object cache (e.g., Redis or Memcached) is active on the site and that an administrator has used the Switch To feature at least once while the attacker maintains an active authenticated session. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account.

Affected Products

1 product · 1 configurations
Application
WPFront User Role Editorsyammohanm
≤ 4.2.5
1 version
0

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every syammohanm WPFront User Role Editor deployment and check each version against the affected-products list above.

  2. Remediation status

    The records we use list no fixed version for CVE-2026-125301 (versions up to 4.2.5 are affected). Check the syammohanm WPFront User Role Editor advisory for a patched release, and apply the workarounds below until you can upgrade.

  3. Mitigate without a patch

    Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

Frequently Asked Questions

The WPFront User Role Editor plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in all versions up to, and including, 4.2.5 The vulnerability exists because the User Switching feature writes the switch-back user stack to the object cache under a site-wide, user-agnostic key (`wpfront_ure_user_switching_stack_<COOKIEHASH>`) with no TTL, while `get_switched_users_stack()` short-circuits all validation on a cache hit — returning the cached administrator stack after only confirming that a cookie with the matching name is present, bypassing `Utils::decrypt
O3 Security · Runtime Protection

Is CVE-2026-125301 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.