# CVE-2025-5953: WP Human Resource Management 2.0.0 - 2.2.17 - Missing Authorization to Authenticated (Employee+) Privilege Escalation via wp_ajax_hrm_insert_employee AJAX Action

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-07-04T01:44:03.834Z
- Modified: 2026-06-17T09:49:05.650Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- asaquzzaman WP Human Resource Management: from 2.0.0 up to 2.2.17
- mishubd wp_human_resource_management: from 2.0.0 up to 2.2.17

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/3ba33a18-429f-4a3e-b018-bdfbbe6e8482?source=cve> (third-party-advisory)
- <https://wordpress.org/plugins/hrm/#developers> (release-notes)
- <https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L89> (product)
- <https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L543> (product)
- <https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L591> (product)

## Sources

- CVE List: [CVE-2025-5953](https://www.cve.org/CVERecord?id=CVE-2025-5953), CVE Terms of Use, modified 2025-07-08
- NVD: [CVE-2025-5953](https://nvd.nist.gov/vuln/detail/CVE-2025-5953), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5953 · Whole record: https://cve.day/CVE-2025-5953.json · Rebuilt by cve.day 2026-11-25T22:59:00.584Z
