CVE-2025-53575

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. It affects all WordPress sites using vulnerable versions of this plugin, potentially compromising user sessions and data. The vulnerability is reflected XSS, meaning the malicious script is reflected back from the server in the response.

💻 Affected Systems

Products:
  • Primer MyData for WooCommerce WordPress plugin
Versions: All versions up to and including 4.2.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the Primer MyData plugin installed and activated.

⚠️ 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 session cookies, perform actions as authenticated users, redirect users to malicious sites, or deface websites by injecting malicious content.

🟠

Likely Case

Session hijacking leading to unauthorized access to user accounts, data theft, or credential harvesting through phishing-like attacks.

🟢

If Mitigated

Limited impact with proper Content Security Policy (CSP) headers, input validation, and output encoding in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Reflected XSS typically requires user interaction (clicking a malicious link) but is straightforward to exploit once the vulnerable parameter is identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 4.2.6 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/primer-mydata/vulnerability/wordpress-primer-mydata-for-woocommerce-plugin-plugin-4-2-5-cross-site-request-forgery-csrf-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, or download latest version from WordPress repository. 5. Activate the updated plugin.

🔧 Temporary Workarounds

Implement Content Security Policy

all

Add CSP headers to restrict script execution sources and mitigate XSS impact.

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or configure in web server settings (Apache/Nginx)

Disable vulnerable plugin

linux

Temporarily disable the Primer MyData plugin until patched.

wp plugin deactivate primer-mydata

🧯 If You Can't Patch

  • Implement Web Application Firewall (WAF) rules to block XSS payloads in requests.
  • Monitor and filter user input for script tags and malicious patterns at the application level.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for Primer MyData version. If version is 4.2.5 or lower, you are vulnerable.

Check Version:

wp plugin list --name=primer-mydata --field=version

Verify Fix Applied:

Verify plugin version is 4.2.6 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests with script tags or JavaScript in parameters
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests containing <script>, javascript:, or encoded XSS payloads in query strings

SIEM Query:

source="web_server_logs" AND ("<script>" OR "javascript:" OR "%3Cscript%3E")

🔗 References

📤 Share & Export