{
 "id": "WPSEC-2026-3257",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3257/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3257/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3257/index.md",
 "title": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.11 - Authenticated (Employee+) Insecure Direct Object Reference to Arbitrary Performance Review Deletion",
 "description": "The ERP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the erp-hr-emp-delete-performance AJAX action in all versions up to, and including, 1.17.11, due to the employee_delete_performance() function checking permission against a user_id taken from the request rather than the employee the performance review belongs to, and then deleting the review by its id. This makes it possible for authenticated attackers with the plugin's Employee role who are the reporting manager or department lead of any employee to delete any employee's performance reviews.",
 "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:N/I:L/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-3257/",
  "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"
 }
}