CVE-2025-5953
HIGHDescription
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.
Is your site exposed to CVE-2025-5953?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| mishubd | wp_human_resource_management |
References
Other References
Frequently Asked Questions
What is CVE-2025-5953? +
How severe is CVE-2025-5953? +
What products are affected by CVE-2025-5953? +
How do I check if I'm vulnerable to CVE-2025-5953? +
Related Vulnerabilities
FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, the `load_customer_info` action in `POST /conversation/ajax` …
GLPI is a free asset and IT management software package. Starting in version 0.78 and prior to versions 10.0.25 and …
In affected versions of Octopus Server, permissions were not checked correctly resulting in any authenticated user being able to make …
SOPlanning does not enforce authorization for backup functionalities. An unauthenticated attacker can directly query backup-related endpoints and retrieve backup archives …
A denial-of-service vulnerability exists in NPort devices because of improper access control on the command port. The command interface does …
An authorization bypass in MISP’s EventsController::importModule() allowed authenticated users or read-only API keys with event view access to persist data …