CVE-2025-64289

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in Premmerce Product Search for WooCommerce allows attackers to inject malicious scripts into web pages. When users view affected pages, the scripts execute in their browsers, potentially stealing session cookies or performing actions on their behalf. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Premmerce Product Search for WooCommerce
Versions: All versions up to and including 2.2.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the vulnerable plugin installed. The vulnerability exists in the plugin's search functionality.

⚠️ 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 admin accounts, install backdoors, deface websites, or redirect users to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, potentially compromising user accounts and performing unauthorized actions.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts are neutralized before reaching users' browsers.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

This is a stored XSS vulnerability requiring the attacker to inject malicious payloads that get stored and executed when users view affected pages. Attack complexity is medium due to the need for proper payload delivery.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 2.2.5 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/premmerce-search/vulnerability/wordpress-premmerce-product-search-for-woocommerce-plugin-2-2-4-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 'Premmerce Product Search for WooCommerce'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 2.2.5+ from WordPress.org and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until patched

wp plugin deactivate premmerce-search

Input Validation via WAF

all

Configure web application firewall to block XSS payloads in search parameters

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Deploy web application firewall with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Premmerce Product Search for WooCommerce → Version number. If version is 2.2.4 or lower, you are vulnerable.

Check Version:

wp plugin get premmerce-search --field=version

Verify Fix Applied:

After updating, verify plugin version shows 2.2.5 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual search queries containing JavaScript tags or event handlers
  • Multiple failed search attempts with suspicious payloads

Network Indicators:

  • HTTP requests to search endpoints containing script tags or JavaScript code in parameters

SIEM Query:

source="wordpress.log" AND "premmerce-search" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export