Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5956: CWE-862 Missing Authorization in asaquzzaman WP Human Resource Management

0
Medium
VulnerabilityCVE-2025-5956cvecve-2025-5956cwe-862
Published: Fri Jul 04 2025 (07/04/2025, 01:44:02 UTC)
Source: CVE Database V5
Vendor/Project: asaquzzaman
Product: WP Human Resource Management

Description

The WP Human Resource Management plugin for WordPress is vulnerable to Arbitrary User Deletion due to a missing authorization within the ajax_delete_employee() function in versions 2.0.0 through 2.2.17. The plugin’s deletion handler reads the client-supplied $_POST['delete'] array and passes each ID directly to wp_delete_user() without verifying that the caller has the delete_users capability or limiting which user IDs may be removed. This makes it possible for authenticated attackers, with Employee-level access and above, to delete arbitrary accounts, including administrators.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 15:46:26 UTC

Technical Analysis

The WP Human Resource Management plugin for WordPress, developed by asaquzzaman, contains a critical authorization bypass vulnerability identified as CVE-2025-5956. This vulnerability exists in versions 2.0.0 through 2.2.17 within the ajax_delete_employee() function, which handles deletion requests for employee user accounts. The function processes a client-supplied $_POST['delete'] array containing user IDs to be deleted and calls WordPress's wp_delete_user() function directly on each ID. Crucially, the plugin fails to verify whether the requesting user has the 'delete_users' capability or restrict which user IDs can be deleted. As a result, any authenticated user with at least Employee-level access can delete arbitrary user accounts, including administrators, without proper authorization. This leads to a serious integrity violation, as attackers can remove critical accounts, potentially locking out legitimate administrators and disrupting site management. The vulnerability does not require user interaction beyond sending a crafted POST request and can be exploited remotely over the network. The CVSS v3.1 score is 6.5 (medium), reflecting the ease of exploitation with limited privileges and the high impact on integrity. No patches or official fixes have been published at the time of disclosure, and no known exploits are currently in the wild. However, the vulnerability poses a significant risk to organizations relying on this plugin for HR management on WordPress sites.

Potential Impact

This vulnerability allows authenticated users with minimal privileges (Employee-level or above) to delete any user account, including administrators. The impact is primarily on integrity, as unauthorized deletion of accounts can disrupt normal operations, cause denial of administrative access, and potentially lead to loss of control over the WordPress site. Organizations may face operational downtime, loss of critical user data, and increased risk of further compromise if administrative accounts are removed. The absence of authorization checks means that attackers can escalate their influence by removing higher-privileged users, effectively performing privilege escalation through account deletion. Although availability and confidentiality impacts are limited, the integrity breach can have cascading effects on organizational security posture and trustworthiness of the affected systems.

Mitigation Recommendations

Immediate mitigation involves restricting access to the vulnerable ajax_delete_employee() function by limiting Employee-level user capabilities or disabling the plugin until a patch is available. Administrators should audit user roles and permissions to ensure that only trusted users have Employee-level or higher access. Implementing Web Application Firewall (WAF) rules to detect and block suspicious POST requests targeting the deletion endpoint can reduce exploitation risk. Monitoring logs for unusual user deletion activities is critical for early detection. Since no official patch is available, organizations can consider applying custom code fixes to add proper authorization checks verifying the 'delete_users' capability and restricting deletions to authorized user IDs only. Regular backups of user data and site configurations should be maintained to enable recovery from unauthorized deletions. Finally, organizations should track vendor updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-06-09T19:34:40.858Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68673b5e6f40f0eb729e5f9f

Added to database: 7/4/2025, 2:24:30 AM

Last enriched: 2/27/2026, 3:46:26 PM

Last updated: 3/23/2026, 5:25:48 PM

Views: 87

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses