CVE-2025-31088

6.5 MEDIUM

📋 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

Products:
  • Paid Member Subscriptions WordPress Plugin
Versions: n/a through 2.14.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with the vulnerable plugin versions are affected regardless of configuration.

⚠️ 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

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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

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

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/paid-member-subscriptions/vulnerability/wordpress-paid-member-subscriptions-2-14-3-cross-site-scripting-xss-vulnerability?_s_id=cve

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

all

Add 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

linux

Implement 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=")

🔗 References

📤 Share & Export