Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Subscriber-level user
-
DeliveryRead site-wide cached switch-back stack
-
ExploitObtain switch-back nonce for own ID
-
ExecutionTrigger switch_user wp_set_auth_cookie for admin
-
ImpactTake over Administrator account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of the following concrete conditions, per the description: (1) the attacker holds an authenticated session at Subscriber level or above (PR:L); (2) a persistent object cache - specifically Redis or Memcached - is active on the site (the default WordPress non-persistent cache does not trigger the flaw); and (3) a legitimate administrator has used the plugin's 'User Switching' / 'Switch To' feature at least once, so that an admin switch-back stack has been written to the shared cache key wpfront_ure_user_switching_stack_<COOKIEHASH>. The attacker must also maintain an active authenticated session while these conditions hold. The core defects enabling it are: get_switched_users_stack() short-circuits all validation (Utils::decrypt(), COOKIEHASH comparison, and the 12-hour expiry check) on a cache hit after merely confirming a matching cookie name; admin_bar_menu_actions() renders the switch-back UI node with no current_user_can() check; and switch_user()'s current_user_can(self::CAP) gate runs only after wp_set_current_user($admin_id) has already swapped the request context, so it evaluates the admin's capabilities rather than the attacker's. LIMITING FACTORS: no persistent object cache, or no prior admin use of 'Switch To', makes the site non-exploitable; combined with the authentication requirement and the no-TTL cache dependency, these sharply narrow the exploitable population. The takeover targets a distinct, already-privileged Administrator account and does not promote the attacker's original account. |
| Impact | Signals point to a credible but conditional threat rather than a drop-everything emergency. The CVSS 3.1 base score is 7.5 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H: network-reachable and impacting confidentiality, integrity, and availability fully (complete admin takeover), but notably gated by AC:H (multiple attacker-uncontrolled preconditions) and PR:L (an authenticated Subscriber-or-above account is required). The vuln.today decision label is 'this_week', and the finding is attributed to Wordfence, a credible WordPress-vulnerability source. No EPSS score was supplied in the input, so exploitation probability cannot be quantified; absence of EPSS is a data gap, not a signal of low risk. This CVE is NOT in CISA KEV and there is no confirmed working proof-of-concept in the input - the only references are the Wordfence advisory and plugin source-code lines, not exploit code. The AC:H rating is well-grounded in the description's stated conditions: a persistent object cache (Redis/Memcached) must be active AND an administrator must have used 'Switch To' at least once while the attacker holds a live session. These stacked prerequisites materially lower real-world likelihood versus a raw 7.5, so this is better treated as a 'patch this cycle' item than a wormable internet-wide crisis - but on a site that genuinely meets the conditions, impact is total (full administrator account takeover). No conflicts between CVSS vector and description were found; the network vector plus authenticated-low-privilege framing is internally consistent. |
| Exploit ScenarioDerived | On a WordPress site using a persistent object cache (Redis or Memcached) where an administrator has used the plugin's 'Switch To' feature at least once, an authenticated Subscriber-level attacker reads the site-wide, user-agnostic cached switch-back stack and obtains a valid switch-back nonce bound to their own user ID. They trigger the switch-back flow, which calls wp_set_auth_cookie() for the administrator account, granting them a full admin session and complete site takeover. No public exploit is identified at time of analysis; the conditions require AC:H and an authenticated low-privilege session (PR:L), so this is not spray-and-pray against arbitrary targets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Privilege escalation in the WPFront User Role Editor WordPress plugin through version 4.2.5 allows an authenticated Subscriber-level user to take over a separate, already-privileged Administrator account and thereby gain full site control (options, plugin installation, theme editing, user management). Exploitation is conditional: the site must run a persistent object cache such as Redis or Memcached, a legitimate administrator must have used the plugin's 'Switch To' feature at least once so that an administrator switch-back stack sits in the shared cache key wpfront_ure_user_switching_stack_<COOKIEHASH>, and the attacker must hold an active authenticated session while those conditions persist. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; the high attack complexity in the CVSS vector reflects these narrow prerequisites rather than an unreliable exploit, and sites without a persistent object cache or without prior admin use of Switch To are not exploitable.
RemediationAI
Update the WPFront User Role Editor plugin to 4.2.6, the release referenced by the advisory as superseding the vulnerable 4.2.5 tag, and confirm the installed version after upgrading; consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/63b409ea-8352-4748-b0c0-2c82d5b17183?source=cve for the vendor's confirmed fixed version and any additional guidance. If the update cannot be applied immediately, the most direct compensating control is to deactivate the plugin's User Switching / 'Switch To' feature entirely, since the exploit chain depends on the switch-back stack and rendered admin-bar node; be aware this removes a convenience function administrators may rely on. Flushing the persistent object cache (Redis or Memcached) clears any cached administrator switch-back stack, but because the key is rewritten whenever an administrator uses Switch To, flushing is only a temporary measure and does not remove the defect. Disabling the persistent object cache would also break the precondition, at the cost of a measurable performance regression on busy sites. Auditing and removing unnecessary Subscriber-and-above accounts reduces the pool of authenticated users who can reach the vulnerable code path, and reviewing administrator accounts and active sessions for unexpected switch-back activity helps detect attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-269 improper privilege management problem in the plugin's User Switching implementation, which persists a switch-back stack into the WordPress object cache under a site-wide, user-agnostic key of the form wpfront_ure_user_switching_stack_<COOKIEHASH> with no TTL. Because the key is not scoped per user, any visitor whose cookie name matches can read the cached administrator stack: get_switched_users_stack() short-circuits all validation on a cache hit, skipping Utils::decrypt(), the COOKIEHASH comparison, and the 12-hour expiry check. Compounding this, admin_bar_menu_actions() renders the switch-back UI node without a current_user_can() check, and the current_user_can(self::CAP) gate inside switch_user() executes only after wp_set_current_user($admin_id) has already replaced the request context, so the capability check is evaluated against the administrator's capabilities instead of the attacker's. Chaining these defects lets a low-privileged authenticated user obtain a switch-back nonce bound to their own ID, trigger wp_set_auth_cookie() for the administrator account, and inherit that account's session. The affected code paths are in includes/users/class-user-switching.php of the 4.2.5 tag, and the dependencies that make the bug reachable - a persistent object cache backend (Redis/Memcached rather than the default non-persistent WordPress cache) and prior administrator use of Switch To - are what place the attack complexity at High in the assessed CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H vector.
Know when Wpfront User Role Editor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable (AV:N) but gated by attacker-uncontrolled preconditions - active object cache plus a prior admin switch (AC:H); needs a Subscriber account (PR:L); full admin takeover yields C:H/I:H/A:H, same security authority so S:U.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
CVE-2026-125301 is a high-severity privilege escalation in the WPFront User Role Editor WordPress plugin (≤4.2.5) that enables a low-privileged authenticated user, such as a Subscriber, to hijack an Administrator account and seize full control of the site. This flaw is particularly dangerous for organizations running WordPress with persistent object caching (Redis or Memcached), as the required conditions for exploitation are already present in many production environments. Leadership should prioritize remediation because a successful attack results in complete site compromise, affecting data integrity, user trust, and regulatory compliance.
Disable or remove the WPFront User Role Editor plugin until a patch is available. If the plugin is essential, disable the 'Switch To' feature and flush the persistent object cache to remove any admin switch-back stacks. Restrict authenticated access to trusted users and monitor for unauthorized privilege escalations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in Wpfront User Role Editor
View allThe WPFront User Role Editor WordPress plugin before 3.2.1.11184 does not sanitise and escape the changes-saved paramete
The WPFront User Role Editor plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to,
EUVD-2026-141349
GHSA-w596-vfg5-6mq3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB