# ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 2.0.0 - Authenticated (Employee+) Missing Authorization to Employee Notes Read, Add and Delete

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

## Description

The ERP plugin for WordPress is vulnerable to unauthorized access via the erp-load-more-notes, erp-hr-employee-new-note and erp-delete-employee-note AJAX actions in all versions up to, and including, 2.0.0, due to a missing capability check in employee_load_note() and an insufficient 'erp_edit_employee' check in employee_add_note() and employee_delete_note(). Employees hold 'erp_edit_employee' for their own record, and the HR nonce is printed for every employee. This makes it possible for authenticated attackers with employee-level access and above to read the private HR notes on any employee by supplying an arbitrary user ID, and to add or delete HR notes on their own record.

## References

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

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

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.
