CVE-2023-2546 HIGH

CVE-2023-2546: WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie

Vendor Iqbalrony
Product WP User Switch
Weakness CWE-288
Published June 6, 2023
Last update April 8, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

The WP User Switch plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 1.0.2. This is due to incorrect authentication checking in the 'wpus_allow_user_to_admin_bar_menu' function with the 'wpus_who_switch' cookie value. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to log in as any existing user on the site, such as an administrator, if they have access to the username.

Key dates

02Disclosure timeline

June 6, 2023 CVE published
April 8, 2026 Record updated