# ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.11 - Authenticated (Employee+) Insecure Direct Object Reference to Employee Job and Compensation History Disclosure

- **ID:** WPSEC-2026-3259
- **Plugin:** ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce (`erp`), https://wordpress.org/plugins/erp/
- **Affected versions:** from 1.9.0 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:L/I:N/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-3259/

## Description

The ERP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the erp_hr_employee_get_job_history AJAX action in all versions from 1.9.0 up to, and including, 1.17.11, due to the get_job_history() function loading a history row by a user-supplied id after checking only the HR nonce, which every employee receives, without verifying that the row belongs to the current user or that the user is an HR manager. This makes it possible for authenticated attackers with the plugin's Employee role to read any employee's job, employment and compensation history entries, including pay rates.

## References

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

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

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.
