CVE-2024-11746

6.4 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the Woocommerce Brands WordPress plugin allows authenticated attackers with contributor-level access or higher to inject malicious scripts via the 'product_brand' shortcode. The scripts execute when users view affected pages, potentially compromising visitor accounts. All WordPress sites using vulnerable plugin versions are affected.

💻 Affected Systems

Products:
  • Woocommerce Brands WordPress Plugin
Versions: All versions up to and including 1.3.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with Woocommerce Brands plugin installed. Contributor-level access or higher needed for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Session hijacking, credential theft from logged-in users, or website defacement through injected malicious content.

🟢

If Mitigated

Limited impact if proper user role management restricts contributor access and web application firewalls filter malicious payloads.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is straightforward once attacker has contributor privileges.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 1.3.2

Vendor Advisory: https://plugins.trac.wordpress.org/browser/gs-woo-brands

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Woocommerce Brands' plugin. 4. Click 'Update Now' if update available. 5. If no update appears, manually download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Remove Contributor Role Access

all

Temporarily restrict contributor-level users from accessing the site until patch is applied.

Web Application Firewall Rules

all

Configure WAF to block XSS payloads targeting the product_brand shortcode attributes.

🧯 If You Can't Patch

  • Disable the Woocommerce Brands plugin completely until patched
  • Implement strict user role management and audit all contributor-level accounts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins → Woocommerce Brands → Version number. If version is 1.3.2 or lower, you are vulnerable.

Check Version:

wp plugin list --name='Woocommerce Brands' --field=version

Verify Fix Applied:

After updating, verify plugin version is higher than 1.3.2. Test shortcode functionality with safe test payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with product_brand parameters
  • Multiple failed login attempts followed by successful contributor login

Network Indicators:

  • Inbound requests with JavaScript payloads in URL parameters or POST data

SIEM Query:

source="wordpress.log" AND ("product_brand" AND ("script" OR "onerror" OR "javascript:"))

🔗 References

📤 Share & Export