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 an authenticated subscriber account. 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
- See mitigation notes
- 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.
No fixed release is identified. Update Login as User – Switch User & WooCommerce Login as Customer when a release after 1.0.1 becomes available; until then, disable and remove it when the site's risk warrants.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
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