CVE-2025-58702
📋 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
- MarketKing - Multivendor Marketplace for WooCommerce
⚠️ 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 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.
🎯 Exploit Status
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
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
allAdd 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:")