{"id":"CVE-2025-5953","published":"2025-07-04T01:44:03Z","modified":"2025-07-08T14:21:48Z","title":"WP Human Resource Management 2.0.0 - 2.2.17 - Missing Authorization to Authenticated (Employee+) Privilege Escalation…","vendor":"asaquzzaman","product":"WP Human Resource Management","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00442,"percentile":0.39252,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3ba33a18-429f-4a3e-b018-bdfbbe6e8482?source=cve","tags":[]},{"url":"https://wordpress.org/plugins/hrm/#developers","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L89","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L543","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L591","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.85},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"asaquzzaman","affectedVersions":[{"vendor":"asaquzzaman","product":"WP Human Resource Management","versions":[">= 2.0.0, <= 2.2.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-08T14:21:37.475644Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19920","exploited":false,"provenance":"source"}}