CVE-2025-30924

7.1 HIGH

📋 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

Products:
  • Primer MyData for WooCommerce WordPress plugin
Versions: All versions up to and including 4.2.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability affects WordPress installations with the Primer MyData plugin activated. No special configuration is required for exploitation.

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

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

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/primer-mydata/vulnerability/wordpress-primer-mydata-for-woocommerce-plugin-4-2-4-reflected-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 '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)

all

Deploy a WAF with XSS protection rules to block malicious payloads before they reach the vulnerable plugin.

Disable Plugin

linux

Temporarily 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=*")

🔗 References

📤 Share & Export