CVE-2025-5953 Details
Description
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.
A privilege escalation vulnerability has been identified in the WP Human Resource Management plugin for WordPress, affecting versions 2.0.0 through 2.2.17. The vulnerability arises from missing authorization in the 'ajax_insert_employee()' and 'update_empoyee()' functions. The AJAX handler processes the 'role' parameter from the client, cleans it with 'hrm_clean()', and then directly assigns it to a user via 'wp_insert_user()' and '$user->set_role()' without verifying if the current user has the right to assign that role. This flaw allows authenticated attackers with Employee-level access or higher to elevate their privileges to administrator.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mishubd wp human resource management | >= 2.0.0, <= 2.2.17 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| Jul 4, 2025 | New CVE Received | [email protected] |