{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-5953","id":"CVE-2025-5953","title":"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","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 verif","descriptionLong":"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.","published":"2025-07-04T01:44:03.834Z","updated":"2026-06-17T09:49:05.650Z","reserved":"2025-06-09T19:08:46.265Z","status":"Analyzed","rejected":false,"assigner":"Wordfence","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Wordfence"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Wordfence"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"wordfence.com"}],"rating":"high","products":["asaquzzaman WP Human Resource Management"],"affectedProducts":[{"vendor":"asaquzzaman","product":"WP Human Resource Management","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.2.17","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-862"],"aliases":[],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3ba33a18-429f-4a3e-b018-bdfbbe6e8482?source=cve","tags":["Third Party Advisory"]},{"url":"https://wordpress.org/plugins/hrm/#developers","tags":["Release Notes"]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L89","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L543","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/browser/hrm/tags/2.2.17/class/employee.php#L591","tags":["Product"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00442,"epssPercentile":0.39119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-5953","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5953","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-5953","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-5953","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}