CVE-2026-86583

Import and export users and customers <= 2.4.17 - Authenticated (Subscriber+) Privilege Escalation via CSV Escape-Character Mismatch in Export/Import Round Trip via display_name and nickname Profile Fields

Published Sep 23, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
The Import and export users and customers plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.4.17 via the plugin's own export and re-import workflow. The vulnerability exists because the exporter writes CSV cells using fputcsv() with a NUL byte (\0) as the escape character, while the importer parses the same file using SplFileObject::fgetcsv() with only a single delimiter argument, causing PHP's default backslash escape character to be applied instead; because the export column layout places display_name immediately before the role column and nickname immediately after, an attacker can store crafted values in those two profile fields — saved by WordPress core via the standard profile page — such that the escape mismatch causes the parser to merge the display_name cell into the role field and rebalance the column count via nickname, yielding administrator as the parsed role for their own row when it reaches the import_user function's add_role function. This makes it possible for authenticated attackers with Subscriber-level access or above to escalate their privileges to Administrator. Exploitation requires a site administrator to trigger the plugin's documented export re-import migration with both "Update existing users" and "Update roles for existing users" set to "yes".

Analysis

AI-generated

Technical impact

The vulnerability resides in the Import and Export Users and Customers WordPress plugin, versions up to 2.4.17. During a round‑trip export and re‑import, the exporter writes CSV cells with a NUL byte as the escape character, while the importer parses the file using the default backslash escape character. Because the exporter places the display_name field directly before the role column and the nickname field immediately after, an attacker can store crafted input in these two profile fields. When the CSV is parsed, the mismatch merges the display_name cell into the role column and realigns the remaining columns via the nickname field. This manipulation causes the importer to assign the Administrator role to the attacker’s own user record during the import_user routine, effectively elevating a Subscriber‑level user to Administrator. The flaw requires only that a site administrator allows the documented export‑reimport migration to run with both “Update existing users” and “Update roles for existing users” enabled.

Affected Systems

WordPress installations running the Import and Export Users and Customers plugin, any version 2.4.17 or older. The flaw is exploitable on sites where the plugin is active and where users with Subscriber‑level roles can initiate the export/import process triggered by an administrator. All affected installations are vulnerable regardless of other configuration settings due to the inherent CSV parsing mismatch.

Risk and Exploitability

The flaw carries a CVSS score of 8.8, marking it as a high severity vulnerability. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, suggesting limited publicly known exploitation. Nonetheless, the attack is feasible for any authenticated user with Subscriber privileges once an administrator performs the export/import migration. Because the vulnerability requires legitimate plugin functionality, exploitation is confined to sites that use the plugin and follow the default export‑import workflow. The potential impact is complete privilege escalation to administrator, compromising all site functions, data, and security controls. This high impact, coupled with the straightforward exploit path, renders the risk severe for affected WordPress deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Import and Export Users and Customers plugin to the latest release that fixes the CSV escape character mismatch.
  • Configure access control to restrict the plugin’s export/import operations to administrator accounts only, or disable these features for lower‑privileged users.
  • Review and sanitize existing user profiles to remove any crafted display_name or nickname values that could trigger role elevation if an import is performed.

Generated by OpenCVE AI on September 23, 2026 at 23:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Carazo
Carazo import And Export Users And Customers
Wordpress
Wordpress wordpress
Vendors & Products Carazo
Carazo import And Export Users And Customers
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Import and export users and customers plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.4.17 via the plugin's own export and re-import workflow. The vulnerability exists because the exporter writes CSV cells using fputcsv() with a NUL byte (\0) as the escape character, while the importer parses the same file using SplFileObject::fgetcsv() with only a single delimiter argument, causing PHP's default backslash escape character to be applied instead; because the export column layout places display_name immediately before the role column and nickname immediately after, an attacker can store crafted values in those two profile fields — saved by WordPress core via the standard profile page — such that the escape mismatch causes the parser to merge the display_name cell into the role field and rebalance the column count via nickname, yielding administrator as the parsed role for their own row when it reaches the import_user function's add_role function. This makes it possible for authenticated attackers with Subscriber-level access or above to escalate their privileges to Administrator. Exploitation requires a site administrator to trigger the plugin's documented export re-import migration with both "Update existing users" and "Update roles for existing users" set to "yes".
Title Import and export users and customers <= 2.4.17 - Authenticated (Subscriber+) Privilege Escalation via CSV Escape-Character Mismatch in Export/Import Round Trip via display_name and nickname Profile Fields
Weaknesses CWE-266
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 24, 2026, 1:23 PM
Reserved
Sep 8, 2026, 6:53 AM
Status
Deferred
Published
Sep 23, 2026, 10:16 PM
Modified
Sep 24, 2026, 2:42 PM