CVE-2025-31088
📋 TL;DR
This stored cross-site scripting (XSS) vulnerability in the Paid Member Subscriptions WordPress plugin allows attackers to inject malicious scripts into web pages. When exploited, these scripts execute in victims' browsers, potentially stealing session cookies or performing actions on their behalf. All WordPress sites using Paid Member Subscriptions versions up to 2.14.3 are affected.
💻 Affected Systems
- Paid Member Subscriptions WordPress Plugin
⚠️ 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 session cookies, take over WordPress sites, deface websites, or redirect users to malicious sites, potentially leading to complete site compromise and data theft.
Likely Case
Attackers inject malicious JavaScript to steal user session cookies or credentials, potentially compromising user accounts and performing unauthorized actions within the plugin's context.
If Mitigated
With proper input validation and output encoding, malicious scripts would be neutralized before reaching users' browsers, preventing exploitation.
🎯 Exploit Status
Stored XSS vulnerabilities are commonly weaponized. While specific exploit details aren't public, the vulnerability type is well-understood and easily exploitable.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.14.4 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Paid Member Subscriptions. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.14.4+ from WordPress.org and manually update.
🔧 Temporary Workarounds
Input Sanitization Filter
allAdd custom input sanitization for plugin fields using WordPress hooks
Add to theme's functions.php or custom plugin: add_filter('pms_input_field', 'sanitize_text_field');
Content Security Policy
linuxImplement CSP headers to restrict script execution
Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://trusted.cdn.com;"
🧯 If You Can't Patch
- Disable the Paid Member Subscriptions plugin immediately
- Implement web application firewall (WAF) rules to block XSS payloads
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for Paid Member Subscriptions version. If version is 2.14.3 or lower, you're vulnerable.
Check Version:
wp plugin list --name=paid-member-subscriptions --field=version
Verify Fix Applied:
Verify plugin version is 2.14.4 or higher in WordPress admin panel. Test input fields for proper HTML encoding.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to plugin endpoints with script tags
- Multiple failed login attempts following suspicious plugin activity
Network Indicators:
- HTTP requests containing <script> tags to plugin-specific URLs
- Unexpected outbound connections after plugin form submissions
SIEM Query:
source="wordpress.log" AND ("pms_" OR "paid-member-subscriptions") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")