ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 2.0.0 - Authenticated (HR Manager+) Improper Privilege Management to User Role Replacement via Employee Creation

Medium 5.5 CWE-269Fixed in 2.0.1
ID
WPSEC-2026-3811
Plugin
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce (erp)
Affected
all versions before 2.0.1
Remediation
Update to 2.0.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L
Weakness
CWE-269
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The ERP plugin for WordPress is vulnerable to improper privilege management via employee creation in all versions up to, and including, 2.0.0, due to an insufficient check before set_role() replaces all roles of an existing WordPress user who is added as an employee. The check only refused administrator and super admin accounts. This makes it possible for authenticated attackers with HR manager-level access and above to strip the roles of other non-administrator users they are not allowed to manage, such as editors or other managers, and make them plain employees.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0