CVE-2025-58704

6.5 MEDIUM

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the WP Delete User Accounts WordPress plugin, which are then executed in victims' browsers. It affects all versions up to 1.2.4 of the plugin, potentially compromising users with access to the affected WordPress site, such as administrators or other logged-in users.

💻 Affected Systems

Products:
  • WP Delete User Accounts WordPress plugin
Versions: from n/a through 1.2.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of the plugin within the affected version range are vulnerable by default; no special configuration is required for exploitation.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker could steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users, leading to full site takeover or data theft.

🟠

Likely Case

Attackers inject scripts to hijack user sessions, deface the site, or steal sensitive information from users interacting with the compromised pages.

🟢

If Mitigated

With proper input validation and output encoding, the risk is minimized, but users may still experience temporary disruptions if exploited before patching.

🌐 Internet-Facing: HIGH, as WordPress sites are typically internet-facing, making them accessible to remote attackers who can exploit the vulnerability to target site visitors.
🏢 Internal Only: MEDIUM, as internal users could be targeted if the site is accessed within a network, but exploitation requires user interaction with the malicious content.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation likely requires some level of user interaction, such as tricking a user into visiting a crafted page, but specific details are not publicly disclosed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.2.4 (check vendor for exact version)

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-delete-user-accounts/vulnerability/wordpress-wp-delete-user-accounts-plugin-1-2-4-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Go to Plugins > Installed Plugins. 3. Find 'WP Delete User Accounts' and update to the latest version. 4. If update is not available, deactivate and delete the plugin, then reinstall from a trusted source.

🔧 Temporary Workarounds

Disable or Remove Plugin

WordPress

Temporarily deactivate or delete the vulnerable plugin to prevent exploitation until a patch is applied.

wp plugin deactivate wp-delete-user-accounts
wp plugin delete wp-delete-user-accounts

🧯 If You Can't Patch

  • Implement a Web Application Firewall (WAF) to block XSS payloads and monitor for suspicious activity.
  • Restrict plugin access to trusted users only and audit user inputs for malicious scripts.

🔍 How to Verify

Check if Vulnerable:

Check the plugin version in WordPress admin under Plugins > Installed Plugins; if version is 1.2.4 or earlier, it is vulnerable.

Check Version:

wp plugin get wp-delete-user-accounts --field=version

Verify Fix Applied:

After updating, confirm the plugin version is above 1.2.4 and test for XSS by attempting to inject scripts in user input fields.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints, logs showing script tags or JavaScript in user inputs.

Network Indicators:

  • HTTP requests with suspicious payloads like <script> tags targeting plugin-related URLs.

SIEM Query:

source="wordpress.log" AND ("wp-delete-user-accounts" OR "XSS" OR "<script>")

🔗 References

📤 Share & Export