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

High 7.2 CWE-269Fixed in 3.2.3
ID
WPSEC-2026-3778
Plugin
Import and export users and customers (import-users-from-csv-with-meta)
Affected
all versions before 3.2.3
Remediation
Update to 3.2.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
Import and export users and customers on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0