CVE-2025-7366

7.3 HIGH

📋 TL;DR

This vulnerability allows unauthenticated attackers to execute arbitrary WordPress shortcodes in the REHub theme. Attackers can inject malicious shortcodes that may lead to remote code execution, data theft, or site takeover. All WordPress sites using REHub theme versions up to 19.9.7 are affected.

💻 Affected Systems

Products:
  • REHub - Price Comparison, Multi Vendor Marketplace WordPress Theme
Versions: All versions up to and including 19.9.7
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using the vulnerable theme 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

Remote code execution leading to complete site compromise, data exfiltration, or malware injection across the entire WordPress installation.

🟠

Likely Case

Unauthorized content injection, privilege escalation, or data leakage through malicious shortcode execution.

🟢

If Mitigated

Limited impact if proper input validation and output escaping are implemented, though shortcode execution remains possible.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires minimal technical skill due to unauthenticated access and predictable attack vectors.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 19.9.8

Vendor Advisory: https://themeforest.net/item/rehub-directory-multi-vendor-shop-coupon-affiliate-theme/7646339#item-description__19-9-8-15-augl-2025

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Update REHub theme to version 19.9.8 or later. 4. Clear any caching plugins or CDN caches.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to a default WordPress theme until patched

Web Application Firewall rule

all

Block requests containing suspicious shortcode patterns

🧯 If You Can't Patch

  • Implement strict input validation for all user-controlled parameters
  • Disable public access to affected pages or implement authentication requirements

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for REHub theme version. If version is 19.9.7 or lower, system is vulnerable.

Check Version:

wp theme list --field=name,version | grep -i rehub

Verify Fix Applied:

Confirm REHub theme version is 19.9.8 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress endpoints with shortcode parameters
  • Multiple failed shortcode execution attempts

Network Indicators:

  • HTTP requests with suspicious shortcode payloads in parameters
  • Unusual traffic patterns to theme-specific endpoints

SIEM Query:

source="wordpress" AND (shortcode OR do_shortcode) AND status=200

🔗 References

📤 Share & Export