CVE-2024-13696

7.2 HIGH

📋 TL;DR

This vulnerability allows unauthenticated attackers to inject malicious JavaScript into WordPress sites using the Flexible Wishlist for WooCommerce plugin. When users view pages containing the injected scripts, their browsers execute the attacker's code, potentially leading to session hijacking, credential theft, or site defacement. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Flexible Wishlist for WooCommerce – Ecommerce Wishlist & Save for later
Versions: All versions up to and including 1.2.25
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the Flexible Wishlist plugin installed and activated.

⚠️ 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, install backdoors, redirect visitors to malicious sites, or use the compromised site to attack visitors' browsers.

🟠

Likely Case

Attackers will inject scripts to steal user session cookies, redirect users to phishing pages, or display malicious advertisements. This could lead to compromised user accounts and reputation damage.

🟢

If Mitigated

With proper web application firewalls and content security policies, the impact is limited to potential data leakage from the specific vulnerable parameter.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

The vulnerability requires no authentication and exploitation is straightforward via the wishlist_name parameter.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 1.2.26 or higher

Vendor Advisory: https://wordpress.org/plugins/flexible-wishlist/#developers

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find 'Flexible Wishlist for WooCommerce'. 4. Click 'Update Now' if available. 5. If no update appears, download version 1.2.26+ from WordPress.org and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until patched

wp plugin deactivate flexible-wishlist

Web Application Firewall Rule

all

Block requests containing script tags in wishlist_name parameter

🧯 If You Can't Patch

  • Implement strict Content Security Policy headers to limit script execution
  • Deploy a web application firewall with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins → Installed Plugins. If version is 1.2.25 or lower, you are vulnerable.

Check Version:

wp plugin get flexible-wishlist --field=version

Verify Fix Applied:

After updating, verify plugin version is 1.2.26 or higher. Test wishlist functionality to ensure it still works properly.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wishlist endpoints with script tags in parameters
  • Multiple failed wishlist creation attempts with malformed data

Network Indicators:

  • HTTP requests containing <script> tags in wishlist_name parameter
  • Unusual traffic patterns to wishlist-related endpoints

SIEM Query:

source="wordpress.log" AND ("wishlist_name" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload="))

🔗 References

📤 Share & Export