---
title: "CVE-2026-125301: WPFront User Role Editor - Privilege Escalation"
description: "WPFront User Role Editor plugin for WordPress <= 4.2.5 contains a privilege escalation caused by insecure caching of user switching stacks, letting authenticated attackers with Subscriber-level access or higher take over administrator accounts, exploit requires persistent object cache and prior admin use of Switch To feature."
url: https://panop.io/threat-heartbeat/CVE-2026-125301/
---

# CVE-2026-125301 WPFront User Role Editor - Privilege Escalation

WPFront User Role Editor plugin for WordPress <= 4.2.5 contains a privilege escalation caused by insecure caching of user switching stacks, letting authenticated attackers with Subscriber-level access or higher take over administrator accounts, exploit requires persistent object cache and prior admin use of Switch To feature.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-125301)

## Details

Type

Privilege Escalation

Impact

Privilege Escalation

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

2 December 2026

Updated

3 December 2026

Weakness

[CWE-269](https://cwe.mitre.org/data/definitions/269.html)

## Vendor fix

Update to the latest version beyond 4.2.5 where the issue is fixed.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-125301](https://nvd.nist.gov/vuln/detail/CVE-2026-125301)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L273](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L273)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L320](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L320)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L368](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L368)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L442](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L442)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L480](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L480)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.6](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.6)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/63b409ea-8352-4748-b0c0-2c82d5b17183?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/63b409ea-8352-4748-b0c0-2c82d5b17183?source=cve)
- [https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L110](https://plugins.trac.wordpress.org/browser/wpfront-user-role-editor/tags/4.2.5/includes/users/class-user-switching.php#L110)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
