Login as User – Switch User & WooCommerce Login as Customer: Privilege escalation or authentication bypass
Login as User – Switch User & WooCommerce Login as Customer is affected by privilege escalation or authentication bypass. Exploitation requires at least subscriber-level access. A successful request can grant permissions or access that the caller should not possess. The published affected range is <= 1.0.1.
- Component
- Login as User – Switch User & WooCommerce Login as Customer
- Plugin slug
one-click-login-as-user- Affected
- <= 1.0.1
- Safe version
> 1.0.1- Published
- Apr 15, 2026
This CVE was published Apr 15, 2026 and is one of 1 known issue for this plugin.
Update, patch or deactivate.
Update Login as User – Switch User & WooCommerce Login as Customer to a release after 1.0.1, or disable and remove it until a fixed version is available.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The Login as User plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.0.3. This is due to the handle_return_to_admin() function trusting a client-controlled cookie (oclaup_original_admin) to determine which user to authenticate as, without any server-side verification that the cookie value was legitimately set during an admin-initiated user switch. This makes it possible for authenticated attackers, with Subscriber-level access and above, to escalate their privileges to administrator by setting the oclaup_original_admin cookie to an administrator's user ID and triggering the "Return to Admin" functionality.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H