The Username Changer plugin for WordPress is vulnerable to Privilege Escalation in all versions...
🔗 CVE IDs covered (1)
📋 Description
The Username Changer plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.3.1 The vulnerability exists because username_changer_process() overwrites the user_login column via a direct SQL UPDATE without first calling revoke_super_admin() on the old login, leaving the prior login name as a stale, unclaimed entry in the site_admins network option. Because WordPress core's is_super_admin() resolves Super Admin status by matching user_login against the site_admins array, any user whose login matches that orphaned entry is immediately granted full network administrator privileges. This makes it possible for unauthenticated attackers — on a WordPress multisite network with public user registration enabled — to register the released login name through the standard /wp-signup.php endpoint and inherit complete Super Admin access over the entire network, provided a Super Admin has voluntarily renamed their own account through the plugin.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-126712
- https://plugins.trac.wordpress.org/browser/username-changer/tags/3.3.1/includes/admin/actions.php#L71
- https://plugins.trac.wordpress.org/browser/username-changer/tags/3.3.1/includes/misc-functions.php#L100
- https://plugins.trac.wordpress.org/browser/username-changer/tags/3.3.1/includes/misc-functions.php#L82
- https://plugins.trac.wordpress.org/changeset/3827777/username-changer
- https://plugins.trac.wordpress.org/changeset/3827777/username-changer/trunk/includes/misc-functions.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e0c0dd3e-c897-45a7-a0b3-e3559d4a3c12?source=cve
- https://github.com/advisories/GHSA-6vw6-h2j9-ch79