Username Changer <= 3.3.1 - Unauthenticated Privilege Escalation via Stale Super Admin Login After Username Change
- ID
- WPSEC-2026-4137
- Plugin
- Username Changer (username-changer)
- Affected
- all versions before 3.3.2
- Remediation
- Update to 3.3.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-269
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-27
- Attack surface
- Username Changer on WPSec AttackSurface
- Fix released
- Published
Description
The Username Changer plugin for WordPress is vulnerable to Privilege Escalation on multisite installations via the username change feature in all versions up to, and including, 3.3.1. This is due to the username_changer_process() function renaming a user with a raw SQL update without removing the old login from the network's Super Admin list ('site_admins'). The function also does not stop an account from being given a login that is still in that list. This makes it possible for unauthenticated attackers to register the freed former login of a renamed Super Admin when the network allows open user registration, and for authenticated users whose role may change its own username to rename themselves to it. Either way, the attacker gains network-wide Super Admin privileges. Exploitation requires a Super Admin to have been renamed with the plugin.
References
- https://wpsec.com/vuln/WPSEC-2026-4137/
- https://plugins.svn.wordpress.org/username-changer/tags/3.3.2/
- https://wordpress.org/plugins/username-changer/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS