{
 "id": "WPSEC-2026-3256",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3256/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3256/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3256/index.md",
 "title": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.11 - Authenticated (Employee+) Insecure Direct Object Reference to Employee Leave History Disclosure",
 "description": "The ERP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the erp-hr-empl-leave-history AJAX action in all versions up to, and including, 1.17.11, due to the get_employee_leave_history() function accepting a user-supplied employee_id and checking only a nonce that is printed on every employee's own leave tab, without verifying that the current user may view that employee. This makes it possible for authenticated attackers with the plugin's Employee role to view other employees' leave request history.",
 "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": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.0.0",
 "remediation": "Update to 2.0.0 or later.",
 "fix_released": "2026-11-16T09:22:53+00:00",
 "published": "2026-11-17T09:49:38+00:00",
 "updated": "2026-11-16T23:27:28.970268+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3256/",
  "https://plugins.svn.wordpress.org/erp/tags/2.0.0/",
  "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-17"
 }
}