{"id":"CVE-2023-2546","aliases":["EUVD-2023-34025","GHSA-gr6h-jrp8-gp49"],"status":"published","title":"WP User Switch \u003c= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01357,"percentile":0.71864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-288"],"published":"2023-06-06T01:55:07Z","modified":"2026-06-17T05:52:48Z","products":[{"vendor":"iqbalrony","product":"wp user switch"},{"vendor":"wp_user_switch_project","product":"wp_user_switch"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve","tags":["x_transferred","Patch","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33","tags":["x_transferred","Product"]},{"url":"https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php","tags":["x_transferred","Patch"]},{"url":"https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2546"},{"url":"https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92"},{"url":"https://github.com/advisories/GHSA-gr6h-jrp8-gp49"}],"sources":{"cve":[{"id":"CVE-2023-2546","title":"WP User Switch \u003c= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","description":"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.","status":"published","published":"2023-06-06T01:55:07.908Z","modified":"2026-04-08T17:30:37.994Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-288"],"updated_at":"2026-11-02T14:35:23.645864Z"}],"euvd":[{"id":"EUVD-2023-34025","description":"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.","status":"published","published":"2023-06-06T01:55:07Z","modified":"2026-04-08T17:30:37Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:24:35.429442Z"}],"ghsa":[{"id":"GHSA-gr6h-jrp8-gp49","title":"The WP User Switch plugin for WordPress is vulnerable to authentication bypass in versions up to,...","description":"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 unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they have access to the username.","status":"published","published":"2023-06-06T03:30:16Z","modified":"2024-04-04T04:32:49Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-288"],"updated_at":"2026-11-02T14:56:24.94679Z"}],"nvd":[{"id":"CVE-2023-2546","description":"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.","status":"published","published":"2023-06-06T02:15:09.943Z","modified":"2026-06-17T05:52:48.94Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-288"],"updated_at":"2026-11-02T14:08:05.329837Z"}]}}
