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

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-06-06T01:55:07.908Z
- Modified: 2026-06-17T05:52:48.940Z
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- iqbalrony WP User Switch: up to 1.0.2
- wp_user_switch_project wp_user_switch: up to 1.0.2

## Every score

- Wordfence: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve> (patch, third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33> (product)
- <https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php> (patch)
- <https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/>

## Sources

- CVE List: [CVE-2023-2546](https://www.cve.org/CVERecord?id=CVE-2023-2546), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2023-2546](https://nvd.nist.gov/vuln/detail/CVE-2023-2546), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2546 · Whole record: https://cve.day/CVE-2023-2546.json · Rebuilt by cve.day 2026-11-25T22:58:24.598Z
