{"id":"CVE-2023-2546","aliases":["CVE-2023-2546"],"related":[],"kind":"vulnerability","state":"published","title":"WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-06-06T01:55:07.908Z","modified":"2026-06-17T05:52:48.940Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-288"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.2","status":"affected"}],"vendor":"iqbalrony","product":"WP User Switch","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.0.2"}],"vendor":"wp_user_switch_project","product":"wp_user_switch","cpe":"cpe:2.3:a:wp_user_switch_project:wp_user_switch:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["István Márton"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-23T16:01:43.157Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2546","url":"https://www.cve.org/CVERecord?id=CVE-2023-2546","licence":"CVE Terms of Use","modified":"2026-04-08T17:30:37.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2546","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2546","licence":"Public domain","modified":"2026-06-17T05:52:48.940Z"}],"updatedAt":"2026-11-25T22:58:24.598Z","epss":{"score":0.01357,"percentile":0.72465,"date":"2026-12-01T12:00:22.000Z"}}