# Import and export users and customers <= 3.2.2 - Authenticated (Custom+) Privilege Escalation via Protected User Meta Column Names in CSV Import

- **ID:** WPSEC-2026-3778
- **Plugin:** Import and export users and customers (`import-users-from-csv-with-meta`), https://wordpress.org/plugins/import-users-from-csv-with-meta/
- **Affected versions:** all versions before 3.2.3
- **Fixed in:** 3.2.3 (Update to 3.2.3 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-269
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/import-users-from-csv-with-meta
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3778/

## Description

The Import and export users and customers plugin for WordPress is vulnerable to Privilege Escalation via the CSV user import in all versions up to, and including, 3.2.2, due to an insufficient blocklist check on protected user meta keys. The importer writes unrecognised column headers as user meta and blocks the capabilities and user level keys only through an exact, case-insensitive string comparison. A header that differs only by trailing spaces or by characters the database collation ignores passes this check, and the database then still matches the stored capabilities row. On multisite networks, only the per-site capability keys of the sites returned by a limited site query were blocked. The same incomplete check applied to the extra profile fields and to the WooCommerce Subscriptions add-on. This makes it possible for authenticated attackers who are allowed to run imports (the create_users capability) but lack promote_users, such as a custom or delegated import role, to overwrite the capabilities of new or editable users with an attacker-chosen serialized array. This lets them create Administrator accounts or grant themselves arbitrary capabilities.

## References

- https://wpsec.com/vuln/WPSEC-2026-3778/
- https://plugins.svn.wordpress.org/import-users-from-csv-with-meta/tags/3.2.3/
- https://wordpress.org/plugins/import-users-from-csv-with-meta/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3778/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
