CVE-2026-125301
WPFront User Role Editor <= 4.2.5 - Authenticated (Subscriber+) Privilege Escalation via Account Takeover to User Switching Cache Short-Circuit
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.
In the words of the organisation that published it (Wordfence).
Severity
- 7.5 High · CVSS 3.1 from security@wordfence.com ·
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected
- syammohanm WPFront User Role Editor: up to 4.2.5
as the publisher (Wordfence) lists them.
Likelihood of exploitation
FIRST's EPSS gives a 0.84% chance of exploitation in the next 30 days, higher than 59% of all CVEs (as of 4 December 2026).
Weakness
References
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/clas
- plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.6
- www.wordfence.com/threat-intel/vulnerabilities/id/63b409ea-8352-4748-b0c0-2c82d5b17183?sou
Record
| Published | 12:17 UTC, 2 December 2026 |
|---|---|
| Last changed | 20:20 UTC, 2 December 2026 |
| NVD status | Deferred |
| Published by | Wordfence |
Follow it
Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.
Any other reader: paste https://envmap.tech/security/feed.xml
Where this comes from
- Security news: the feeds of 19 security newsrooms: BleepingComputer, The Record, Krebs on Security, Dark Reading, SecurityWeek, The Hacker News, Help Net Security, CyberScoop, Infosecurity Magazine, Cybersecurity Dive, CSO Online, Security Affairs and Schneier on Security, and the security sections of The Register, Ars Technica, Wired, TechCrunch, The Verge and The Guardian. One story covered by several newsrooms is shown once, led by the first to report it, with the others linked beside it; headlines count as the same story only when they share most of their words. Topics come from the words in the headline.
- Advisories: CISA, the UK's National Cyber Security Centre, Microsoft, AWS, Google Kubernetes Engine, GitLab, Cisco, Fortinet, Palo Alto Networks, Ubuntu and Chrome's stable releases, from their own feeds, and Kubernetes's official CVE feed.
- Threat research: the research blogs of Microsoft Threat Intelligence, Cisco Talos, Unit 42, Securelist, Check Point Research, ESET Research, Datadog Security Labs, GitHub Security Lab and Google's Project Zero.
- What security people are talking about: Hacker News's public search, the security stories with the most points in the last three days.
- CVEs in DevOps software: every new CVE whose description, title or affected products name software such as Kubernetes, containerd, Docker, Helm, Argo CD, Istio, nginx, Jenkins, GitLab, Terraform, Vault, Grafana, PostgreSQL, Redis, OpenSSH or OpenSSL.
- Every CVE, its description, scores, weaknesses and references: the National Vulnerability Database (NVD), which publishes every CVE from the CVE Program.
- The title and the affected products and versions: the CVE record itself on CVE.org, written by the organisation that published the CVE (its CNA), often before NVD has analysed it.
- Exploited in the wild: CISA's Known Exploited Vulnerabilities catalogue, as NVD carries it, with CISA's date added and its fix-by date for US federal agencies.
- Likelihood of exploitation: FIRST's Exploit Prediction Scoring System (EPSS), the chance of exploitation in the next 30 days, updated daily.
Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.
How to read it
- Critical, high, medium, low: the CVSS base score, 0 to 10. It measures how bad a vulnerability is, not how likely it is to be used.
- Exploited in the wild: proof that attackers use it. Patch these first, whatever their score.
- EPSS: how likely it is to be used in the next 30 days. A low score is not a promise.
EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.