CVE-2023-2546
published high CVSS 3.1 · 8.8WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| iqbalrony | — | WP User Switch0 through 1.0.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| iqbalrony | WP User Switch | 0 through 1.0.2 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel
References
4- https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/
- https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33
- https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve
Provider assertions
3Wordfence · cna
WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18cf4a02ecbcb4aa2ed774e724cebd4ece127acf1f2862cbf7e3570f5bf4acfd
- Ingested
- 23 Sep 2026, 08:08:16 UTC
- Source record
- Official CVE record