# ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.11 - Authenticated (Employee+) Insecure Direct Object Reference to Arbitrary Performance Review Deletion

- **ID:** WPSEC-2026-3257
- **Plugin:** ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce (`erp`), https://wordpress.org/plugins/erp/
- **Affected versions:** all versions before 2.0.0
- **Fixed in:** 2.0.0 (Update to 2.0.0 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/erp
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3257/

## 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-3257/
- https://plugins.svn.wordpress.org/erp/tags/2.0.0/
- https://wordpress.org/plugins/erp/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3257/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
