CVE-2025-13367
📋 TL;DR
This stored XSS vulnerability in the User Registration & Membership WordPress plugin allows authenticated attackers with contributor-level access or higher to inject malicious scripts via shortcode attributes. The scripts execute when users view affected pages, potentially compromising visitor accounts. All WordPress sites using this plugin up to version 4.4.6 are affected.
💻 Affected Systems
- User Registration & Membership – Custom Registration Form Builder, Custom Login Form, User Profile, Content Restriction & 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 could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with contributor access inject malicious scripts to steal user session cookies or credentials, potentially compromising user accounts.
If Mitigated
With proper user role management and content review processes, impact is limited to low-privilege user account compromise.
🎯 Exploit Status
Exploitation requires contributor-level access or higher. The vulnerability is in shortcode attributes, making injection straightforward for authenticated users.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 4.4.7 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3412096/user-registration
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'User Registration & Membership' plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 4.4.7+ from WordPress repository and manually update.
🔧 Temporary Workarounds
Remove contributor posting capabilities
allTemporarily restrict contributor-level users from creating or editing posts/pages until patch is applied.
Use WordPress role management plugins or custom code to modify user capabilities
Disable vulnerable plugin
linuxTemporarily deactivate the User Registration & Membership plugin until patched.
wp plugin deactivate user-registration
🧯 If You Can't Patch
- Implement strict content review process for all posts/pages created by contributors
- Install web application firewall with XSS protection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins → User Registration & Membership → Version number. If version is 4.4.6 or lower, you are vulnerable.
Check Version:
wp plugin get user-registration --field=version
Verify Fix Applied:
After updating, verify plugin version shows 4.4.7 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual post/page edits by contributor users
- Suspicious shortcode attributes containing script tags or JavaScript
Network Indicators:
- Unexpected script loads from WordPress pages
- Suspicious outbound connections from user browsers after visiting specific pages
SIEM Query:
source="wordpress" AND (event="post_updated" OR event="page_updated") AND user_role="contributor" AND content CONTAINS "<script>"
🔗 References
- https://plugins.trac.wordpress.org/changeset/3412096/user-registration/trunk/modules/membership/includes/Templates/membership-listing.php
- https://plugins.trac.wordpress.org/changeset/3412096/user-registration/trunk/modules/membership/includes/Templates/thank-you-page.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2244945a-5b3a-463d-9910-46a6f7afaf6c?source=cve