{
 "id": "WPSEC-2026-1626",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1626/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1626/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1626/index.md",
 "title": "Import and export users and customers <= 2.5.8 - Authenticated (Subscriber+) Privilege Escalation via CSV Export Cell Injection",
 "description": "The Import and export users and customers plugin for WordPress is vulnerable to Privilege Escalation via the user export and re-import workflow in all versions up to, and including, 2.5.8, due to the exporter writing CSV cells, and the importer reading them, with a NUL byte as the escape character without removing NUL bytes from exported values. A NUL byte placed before a quote stops fputcsv() from doubling that quote, while fgetcsv() reads the same bytes differently, so the cell boundaries shift and the rest of a profile value is parsed as extra columns and rows. This makes it possible for authenticated attackers, with subscriber-level access and above, to store crafted profile values that inject arbitrary user rows into the export, such as their own username with the administrator role, which are applied when a user with import and export permissions exports the users and imports the generated CSV again with role updates enabled.",
 "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": "PRIV",
 "cwe": [
  "CWE-269"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.1,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.5.9",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.5.9"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.5.9",
 "remediation": "Update to 2.5.9 or later.",
 "fix_released": "2026-10-23T21:58:06+00:00",
 "published": "2026-10-24T22:40:38+00:00",
 "updated": "2026-10-24T10:53:03.299760+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1626/",
  "https://plugins.svn.wordpress.org/import-users-from-csv-with-meta/tags/2.5.9/",
  "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-10-25"
 }
}