Export and Import Users and Customers <= 2.7.5 - Authenticated (Subscriber+) Privilege Escalation via CSV Escape-Character Mismatch in Export/Import Round Trip via Biographical Info Field

8.8
Improper Encoding or Escaping of Output
CVE CVE-2026-104368
CVSS 8.8 (High)
Publicly Published October 29, 2026
Last Updated October 30, 2026
Researcher Sebastian Albrecht (mySebbe)

Description

The Export and Import Users and Customers plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.7.5 via the plugin's own export and re-import workflow. The vulnerability exists because of a CSV escape-character mismatch between the exporter and the importer: class-csvwriter.php writes cells with fputcsv() using PHP's default backslash (\) escape character, while class-csvreader.php parses the same file with fgetcsv() using a double-quote (") as the escape character. As a result, a crafted value stored in a Subscriber's Biographical Info field — containing a backslash-quote sequence followed by a newline — is written as a single quoted CSV field but parsed back as two separate rows on import. The injected second row is then processed by hf_create_customer() as a new user record whose user_login, user_pass, user_email, and role are entirely attacker-controlled, allowing the creation of an arbitrary Administrator account. This makes it possible for authenticated attackers with Subscriber-level access and above to escalate their privileges to Administrator.

References

Share

Vulnerability Details for Export and Import Users and Customers

Software Type Plugin
Software Slug users-customers-import-export-for-wp-woocommerce (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.7.6, or a newer patched version
Affected Version
  • <= 2.7.5
Patched Version
  • 2.7.6

Recent vulnerabilities in Export and Import Users and Customers

# Title CVE ID CVSS Researchers Date
1 Export and Import Users and Customers <= 2.6.2 - Directory Traversal to Authenticated (Administrator+) Limited Arbitrary File Read via download_file Function CVE-2025-1973 4.9 HayMiz March 21, 2025
2 Export and Import Users and Customers <= 2.6.2 - Directory Traversal to Authenticated (Administrator+) Limited Arbitrary File Deletion via admin_log_page Function CVE-2025-1972 2.7 HayMiz March 21, 2025
3 Export and Import Users and Customers <= 2.6.2 - Authenticated (Admin+) PHP Object Injection via form_data Parameter CVE-2025-1971 7.2 HayMiz March 21, 2025
4 Export and Import Users and Customers <= 2.6.2 - Authenticated (Administrator+) Server-Side Request Forgery via validate_file Function CVE-2025-1970 7.6 HayMiz March 21, 2025
5 Export and Import Users and Customers <= 2.5.3 - Authenticated (Admin+) PHP Object Injection CVE-2024-32835 7.2 Trình Vũ April 22, 2024
6 Import Export WordPress Users <= 2.5.2 - Authenticated (Shop Manager+) Path Traversal CVE-2024-30492 2.7 Ananda Dhakal March 28, 2024
7 Export and Import Users and Customers <= 2.4.8 - Authenticated (Shop Manager+) Arbitrary File Upload CVE-2023-6558 7.2 István Márton December 12, 2023
8 Export and Import Users and Customers <= 2.4.1 - Missing Authorization to Authenticated (Shop Manager) Arbitrary User Password Change CVE-2023-3459 7.2 István Márton July 14, 2023
9 WebToffee Plugins <= (Various Versions) - Arbitrary User Creation CVE-2020-12074 8.8 Chloe Chamberland March 11, 2020
10 Import Export WordPress Users and WooCommerce Customers <= 1.3.1 - CSV Injection CVE-2019-15092 7.3 Javier Olmedo August 22, 2018

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation