Description
The Import and export users and customers plugin for WordPress is vulnerable to privilege escalation in all versions up to, and including, 1.29.7. This is due to the 'save_extra_user_profile_fields' function not properly restricting which user meta keys can be updated via profile fields. The 'get_restricted_fields' method does not include sensitive meta keys such as 'wp_capabilities'. This makes it possible for unauthenticated attackers to escalate their privileges to Administrator by submitting a crafted registration request that sets the 'wp_capabilities' meta key. The vulnerability can only be exploited if the "Show fields in profile" setting is enabled and a CSV with a wp_capabilities column header has been previously imported.
Problem types
CWE-269 Improper Privilege Management
Product status
Any version
Timeline
| 2026-03-13: | Vendor Notified |
| 2026-03-21: | Disclosed |
Credits
Supanat Konprom
References
www.wordfence.com/...-38e6-49da-8d22-27e12fddef51?source=cve
plugins.trac.wordpress.org/...ags/1.29.7/classes/columns.php
plugins.trac.wordpress.org/...ags/1.29.7/classes/columns.php
plugins.trac.wordpress.org/...tags/1.29.7/classes/helper.php
plugins.trac.wordpress.org/...mport-users-from-csv-with-meta