CVE-2025-58702

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the MarketKing WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. All WordPress sites running MarketKing versions up to 2.0.92 are affected, potentially compromising user sessions and site integrity.

💻 Affected Systems

Products:
  • MarketKing - Multivendor Marketplace for WooCommerce
Versions: n/a through 2.0.92
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable MarketKing 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 credentials, take over the WordPress site, deface pages, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, perform actions on behalf of authenticated users, or display phishing content to visitors.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users, preventing execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires finding and targeting specific input fields that lack proper sanitization in the MarketKing plugin.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.0.93 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/marketking-multivendor-marketplace-for-woocommerce/vulnerability/wordpress-marketking-plugin-2-0-92-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 MarketKing plugin. 4. Click 'Update Now' if update available. 5. If no update shows, download version 2.0.93+ from WordPress.org and manually update.

🔧 Temporary Workarounds

Temporary Input Sanitization

all

Add custom input validation to sanitize all user inputs before processing by MarketKing plugin.

Add custom sanitization functions to theme's functions.php or create a custom plugin with input filtering

🧯 If You Can't Patch

  • Disable the MarketKing plugin temporarily until patching is possible
  • Implement a web application firewall (WAF) with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for MarketKing version. If version is 2.0.92 or lower, you are vulnerable.

Check Version:

wp plugin list --name=marketking --field=version

Verify Fix Applied:

After updating, verify MarketKing plugin version shows 2.0.93 or higher in WordPress admin plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to MarketKing endpoints with script tags or JavaScript payloads
  • Multiple failed input validation attempts

Network Indicators:

  • HTTP requests containing <script> tags or JavaScript code in parameters targeting MarketKing endpoints

SIEM Query:

source="web_logs" AND (uri_path="/wp-admin/admin-ajax.php" OR uri_path CONTAINS "marketking") AND (request_body CONTAINS "<script>" OR request_body CONTAINS "javascript:")

🔗 References

📤 Share & Export