Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-4522 Overview
CVE-2025-4522 affects the IDonate – Blood Donation, Request And Donor Management System plugin for WordPress. The vulnerability is an Insecure Direct Object Reference (IDOR) in the admin_post_donor_delete() function. It exists in versions 2.0.0 through 2.1.9. Authenticated attackers with Subscriber-level access or higher can supply an arbitrary user_id parameter to the wp_delete_user() call. This allows deletion of any WordPress user account, including administrators. The flaw is categorized under CWE-862: Missing Authorization.
Critical Impact
Low-privileged authenticated users can delete administrator accounts, enabling site takeover scenarios and sustained denial of access for legitimate operators.
Affected Products
- ThemeAtelier IDonate plugin for WordPress, versions 2.0.0 through 2.1.9
- WordPress sites running the vulnerable plugin with open user registration
- Any WordPress deployment where Subscriber-level accounts exist alongside the IDonate plugin
Discovery Timeline
- 2025-11-07 - CVE-2025-4522 published to NVD
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2025-4522
Vulnerability Analysis
The IDonate plugin exposes a WordPress admin_post_ action handler named admin_post_donor_delete(). The handler is registered in src/Admin/Admin.php and processes requests to remove donor records. Internally, it invokes WordPress's wp_delete_user() function in src/Helpers/DonorFunctions.php.
The handler accepts a user_id parameter from the request and passes it directly to wp_delete_user() without validating that the requesting user has permission to delete the specified account. Any authenticated user, including Subscribers, can invoke the endpoint. By substituting the user_id with the identifier of an administrator, an attacker triggers deletion of that privileged account. Reassignment behavior tied to wp_delete_user() can also transfer content ownership during the operation.
Root Cause
The root cause is missing authorization enforcement in the donor deletion endpoint. The code does not verify the caller's capability (such as delete_users) and does not confirm that the submitted user_id corresponds to a donor record owned or managed by the caller. Combined, these omissions produce a classic IDOR condition where the object identifier is attacker-controlled.
Attack Vector
Exploitation requires only an authenticated session at Subscriber level or above, which is trivially obtainable on sites that permit open registration. The attacker sends an authenticated POST request to the admin-post.php endpoint with the action parameter set to the donor delete action and a user_id value targeting an administrator account. The server executes wp_delete_user() against the supplied identifier, removing the account. See the Wordfence advisory and the vulnerable function source for technical specifics.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-4522
Indicators of Compromise
- POST requests to /wp-admin/admin-post.php with an action parameter referencing donor deletion and a user_id parameter targeting non-donor accounts
- Unexpected deletions of administrator or editor accounts in the WordPress user audit log
- New or recently registered Subscriber accounts issuing authenticated requests to administrative endpoints shortly after account creation
Detection Strategies
- Review WordPress access logs for the donor delete admin-post.php action originating from users without administrator privileges
- Correlate wp_delete_user() events with the authenticated session role to flag deletions initiated by Subscriber-level accounts
- Monitor the wp_users table row count for sudden decreases and compare against expected administrative activity
Monitoring Recommendations
- Enable a WordPress audit logging plugin to capture user deletion events, including the acting user, target user, and source IP
- Forward WordPress and web server logs to a centralized SIEM for correlation and alerting on privileged account deletions
- Alert on IDonate plugin versions below 2.1.10 identified through software inventory scans
How to Mitigate CVE-2025-4522
Immediate Actions Required
- Update the IDonate plugin to version 2.1.10 or later on all WordPress installations
- Audit the WordPress user list to confirm no administrator or editor accounts have been removed
- Temporarily disable open user registration if the plugin cannot be updated immediately
Patch Information
ThemeAtelier addressed the vulnerability in IDonate version 2.1.10. The fix is documented in WordPress Plugin Changeset 3334424, which adds authorization checks to the donor deletion workflow. Administrators should obtain the update through the WordPress plugin repository or the IDonate plugin page.
Workarounds
- Deactivate the IDonate plugin until the patched version can be deployed
- Restrict access to admin-post.php donor delete actions using a web application firewall (WAF) rule that blocks requests from non-administrator sessions
- Set users_can_register to false in WordPress settings to prevent unauthenticated attackers from obtaining the Subscriber role required for exploitation
# Disable open registration via WP-CLI
wp option update users_can_register 0
# Deactivate the IDonate plugin until patched
wp plugin deactivate idonate
# Update the plugin once a fixed version is available
wp plugin update idonate --version=2.1.10
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

