{
 "id": "WPSEC-2026-3814",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3814/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3814/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3814/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3814.json",
 "title": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 2.0.0 - Authenticated (CRM Agent+) Privilege Escalation via Look-Alike User Meta Keys in Contact Creation",
 "description": "The ERP plugin for WordPress is vulnerable to Privilege Escalation via the CRM contact create/edit AJAX handler in all versions up to, and including, 2.0.0, due to insufficient restriction of the contact meta keys that are written to the linked WordPress user's meta. The protected-key blocklist compares keys byte-for-byte, while MySQL compares meta_key ignoring case, accents and zero-width characters, so a look-alike key bypasses the blocklist and overwrites the real protected row. This makes it possible for authenticated attackers with CRM Agent-level access and above to add a contact linked to their own account and overwrite their own capabilities user meta, granting themselves the administrator role.",
 "plugin": {
  "slug": "erp",
  "name": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce",
  "full_name": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/erp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/erp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/erp"
 },
 "type": "PRIV",
 "cwe": [
  "CWE-184"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.0.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.0.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.0.1",
 "remediation": "Update to 2.0.1 or later.",
 "fix_released": "2026-11-23T18:12:13+00:00",
 "published": "2026-11-24T18:51:16+00:00",
 "updated": "2026-11-24T11:30:48.170409+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3814/",
  "https://plugins.svn.wordpress.org/erp/tags/2.0.1/",
  "https://wordpress.org/plugins/erp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/erp",
 "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-24"
 }
}