# ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.10 - Authenticated (Employee+) Insecure Direct Object Reference to Private Post Disclosure via Announcement Viewer

- **ID:** WPSEC-2026-1888
- **Plugin:** ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce (`erp`), https://wordpress.org/plugins/erp/
- **Affected versions:** all versions before 1.17.11
- **Fixed in:** 1.17.11 (Update to 1.17.11 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-10-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/erp
- **Fix released:** 2026-10-28
- **Published:** 2026-10-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1888/

## Description

The ERP plugin for WordPress is vulnerable to Insecure Direct Object Reference via the erp_hr_announcement_view AJAX action in all versions up to, and including, 1.17.10, due to missing validation on a user-controlled post ID: the view_announcement() function checked only the HR nonce, which every employee receives, and returned any post without checking that it is a published announcement sent to the requester. This makes it possible for authenticated attackers with employee-level access and above to read the title and content of any post by ID, including private and draft posts.

## References

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

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

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.
