BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2023-2546

HIGH 8.8 CVSS 3.1
Published
June 6, 2023
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-288
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Affected WordPress components

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • iqbalrony WP User Switch — Up to and including 1.0.2
  • wp_user_switch_project wp_user_switch — Up to and including 1.0.2

References

  • lana.codes https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33 Product
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php Patch
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve Patch, Third Party Advisory
  • nvd.nist.gov Official NVD record