Auth bypass in Asaquzzaman Wp Human Resource Management
CVE-2025-5953
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.004 · 38.9th percentile
- Published
- 2025-07-04
The WP Human Resource Management plugin for WordPress is vulnerable to Privilege Escalation due to missing authorization in the ajax_insert_employee() and update_empoyee() functions in versions 2.0.0 through 2.2.17. The AJAX handler reads the client-supplied $_POST['role'] and, after basic cleaning via hrm_clean(), passes it directly to wp_insert_user() and later to $user->set_role() without verifying that the current user is allowed to assign that role. This makes it possible for authenticated attackers, with Employee-level access and above, to elevate their privileges to administrator.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 38.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/3ba33a18-429f-4a3e-b018-bdfbb… (Third Party Advisory)
- wordpress.org/plugins/hrm/ (Release Notes)
- plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php (Product)
- plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php (Product)
- plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php (Product)