CVE-2025-6744
📋 TL;DR
The Woodmart WordPress theme allows unauthenticated attackers to execute arbitrary shortcodes due to insufficient input validation in the woodmart_get_products_shortcode() function. This affects all WordPress sites using Woodmart theme versions up to 8.2.3. Attackers can leverage WordPress shortcodes to perform various malicious actions.
💻 Affected Systems
- Woodmart WordPress Theme
📦 What is this software?
Woodmart by Xtemos
⚠️ Risk & Real-World Impact
Worst Case
Complete site takeover through shortcode execution leading to remote code execution, data exfiltration, or malware injection.
Likely Case
Content manipulation, privilege escalation, or injection of malicious scripts/redirects via WordPress shortcode capabilities.
If Mitigated
Limited impact if shortcode execution is restricted through security plugins or custom filters.
🎯 Exploit Status
Attack requires sending crafted requests to vulnerable endpoints. No authentication needed.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 8.2.4 or later
Vendor Advisory: https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/20264492
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Appearance > Themes
3. Check for Woodmart theme updates
4. Update to version 8.2.4 or later
5. Clear any caching plugins/CDN caches
🔧 Temporary Workarounds
Disable vulnerable function
allRemove or disable the woodmart_get_products_shortcode() function via theme modifications
Edit theme files to comment out or remove vulnerable function calls
Input validation filter
allAdd custom WordPress filter to validate shortcode parameters
Add custom PHP filter in functions.php or custom plugin
🧯 If You Can't Patch
- Temporarily disable the Woodmart theme and switch to default WordPress theme
- Implement WAF rules to block requests containing suspicious shortcode parameters
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Appearance > Themes for Woodmart version. If version is 8.2.3 or lower, system is vulnerable.
Check Version:
wp theme list --field=name,version --path=/path/to/wordpress
Verify Fix Applied:
Confirm Woodmart theme version is 8.2.4 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress endpoints with shortcode parameters
- Multiple failed shortcode execution attempts in WordPress debug logs
Network Indicators:
- HTTP requests containing crafted shortcode parameters to WordPress XML-RPC or REST API endpoints
SIEM Query:
source="wordpress.log" AND (woodmart_get_products_shortcode OR do_shortcode) AND status=200