CVE-2025-30924
📋 TL;DR
This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users through improper input sanitization in the Primer MyData for WooCommerce WordPress plugin. When exploited, it enables reflected cross-site scripting attacks that can steal session cookies, redirect users, or perform actions on their behalf. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Primer MyData for WooCommerce 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, gain full control of the WordPress site, install backdoors, deface the site, or steal customer payment information from WooCommerce stores.
Likely Case
Attackers will typically use this to steal user session cookies, redirect users to phishing sites, or perform limited actions within the user's current session context.
If Mitigated
With proper web application firewalls and input validation, the attack would be blocked before reaching the vulnerable code, preventing exploitation.
🎯 Exploit Status
The vulnerability is publicly documented with technical details, making weaponization likely. Exploitation requires only a crafted URL that victims must click.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 4.2.5 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Primer MyData for WooCommerce'. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and manually update.
🔧 Temporary Workarounds
Web Application Firewall (WAF)
allDeploy a WAF with XSS protection rules to block malicious payloads before they reach the vulnerable plugin.
Disable Plugin
linuxTemporarily disable the Primer MyData plugin until patching is possible.
wp plugin deactivate primer-mydata
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution sources
- Deploy a reverse proxy with XSS filtering capabilities
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for Primer MyData version. If version is 4.2.4 or lower, you are vulnerable.
Check Version:
wp plugin get primer-mydata --field=version
Verify Fix Applied:
After updating, verify the plugin version shows 4.2.5 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual GET/POST requests containing script tags or JavaScript code in parameters
- Multiple failed XSS attempts in web server logs
- Requests to plugin-specific endpoints with encoded payloads
Network Indicators:
- HTTP requests containing <script> tags or JavaScript in URL parameters
- Unusual redirects from your domain to external sites
SIEM Query:
source="web_server_logs" AND (uri="*<script>*" OR uri="*javascript:*" OR params="*alert(*" OR params="*onerror=*" OR params="*onload=*")