CVE-2025-4610
📋 TL;DR
The WP-Members Membership Plugin for WordPress has a stored XSS vulnerability in all versions up to 3.5.2. Authenticated attackers with contributor-level access or higher can inject malicious scripts via the wpmem_user_memberships shortcode, which execute when users view affected pages.
💻 Affected Systems
- WP-Members Membership Plugin for WordPress
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers steal admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers inject malicious scripts to steal user session cookies, display phishing forms, or redirect users to malicious content.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented, and only sanitized content is displayed.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once an attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.5.3 or later
Vendor Advisory: https://wordpress.org/plugins/wp-members/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP-Members Membership Plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 3.5.3+ from WordPress plugin repository and manually update.
🔧 Temporary Workarounds
Remove Contributor Access
allTemporarily restrict contributor-level access to trusted users only to reduce attack surface.
Disable Plugin
allTemporarily deactivate WP-Members plugin until patched.
🧯 If You Can't Patch
- Implement strict user role management and audit contributor accounts.
- Deploy web application firewall (WAF) rules to block XSS payloads targeting the wpmem_user_memberships shortcode.
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for WP-Members version. If version is 3.5.2 or lower, system is vulnerable.
Check Version:
wp plugin list --name=wp-members --field=version
Verify Fix Applied:
After updating, verify WP-Members plugin version is 3.5.3 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php or admin-post.php containing wpmem_user_memberships parameters with script tags or JavaScript code.
- Multiple failed login attempts followed by successful contributor-level login.
Network Indicators:
- HTTP requests with suspicious parameters in wpmem_user_memberships shortcode attributes containing JavaScript or HTML event handlers.
SIEM Query:
source="wordpress.log" AND ("wpmem_user_memberships" AND ("<script" OR "javascript:" OR "onerror=" OR "onload="))
🔗 References
- https://plugins.trac.wordpress.org/browser/wp-members/tags/3.5.2/includes/class-wp-members-products.php#L115
- https://plugins.trac.wordpress.org/browser/wp-members/tags/3.5.2/includes/class-wp-members-products.php#L660
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-members&old=3240295&new_path=%2Fwp-members&new=3293207&sfp_email=&sfph_mail=
- https://wordpress.org/plugins/wp-members/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3ff96d74-8f20-49a6-bd02-0bfe3498b599?source=cve