{
 "id": "WPSEC-2026-3678",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3678/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3678/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3678/index.md",
 "title": "Import and export users and customers <= 3.2.1 - Authenticated (Custom+) Missing Authorization to Administrator Role Demotion via Multisite User Import",
 "description": "The Import and export users and customers plugin for WordPress is vulnerable to unauthorized modification of user roles in all versions up to, and including, 3.2.1. This is due to the multisite step of the user import, which adds each imported user to the current site with add_user_to_blog() and so replaces their site role (with 'subscriber' when the caller may not assign roles), running without a 'promote_users' check and without the plugin's protected-role check. This makes it possible for authenticated attackers who have been granted the plugin's import capability ('create_users' by default) but not 'promote_users', such as a custom role on a multisite network that allows site administrators to add new users, to demote the site's administrators to subscribers by importing a CSV file with 'Update roles for existing users?' set to yes. Only WordPress multisite installations are affected.",
 "plugin": {
  "slug": "import-users-from-csv-with-meta",
  "name": "Import and export users and customers",
  "full_name": "Import and export users and customers",
  "wordpress_org": "https://wordpress.org/plugins/import-users-from-csv-with-meta/",
  "advisories_url": "https://wpsec.com/vuln/plugin/import-users-from-csv-with-meta/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/import-users-from-csv-with-meta"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.2.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.2.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.2.2",
 "remediation": "Update to 3.2.2 or later.",
 "fix_released": "2026-11-20T16:07:05+00:00",
 "published": "2026-11-21T16:42:56+00:00",
 "updated": "2026-11-21T09:03:53.533791+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3678/",
  "https://plugins.svn.wordpress.org/import-users-from-csv-with-meta/tags/3.2.2/",
  "https://wordpress.org/plugins/import-users-from-csv-with-meta/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/import-users-from-csv-with-meta",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-21"
 }
}