CVE-2024-5188

6.4 MEDIUM

📋 TL;DR

This vulnerability allows authenticated WordPress users with Contributor-level access or higher to inject malicious scripts into web pages via the Essential Addons for Elementor plugin. The scripts execute whenever users visit the compromised pages, enabling attackers to steal session cookies, redirect users, or perform other malicious actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Essential Addons for Elementor – Best Elementor Templates, Widgets, Kits & WooCommerce Builders
Versions: All versions up to and including 5.9.22
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with the Essential Addons for Elementor plugin installed. Contributor-level access or higher is needed to exploit.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over websites, redirect visitors to malicious sites, or deploy malware to site visitors' browsers.

🟠

Likely Case

Attackers with contributor accounts inject malicious scripts to steal user session data, display fraudulent content, or redirect users to phishing pages.

🟢

If Mitigated

With proper user access controls and input validation, the impact is limited to potential data exposure from compromised contributor accounts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once an attacker has contributor-level credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 5.9.23 or later

Vendor Advisory: https://wordpress.org/plugins/essential-addons-for-elementor-lite/#developers

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Essential Addons for Elementor'. 4. Click 'Update Now' if available. 5. Alternatively, download version 5.9.23+ from WordPress.org and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the vulnerable plugin until patched

wp plugin deactivate essential-addons-for-elementor-lite

Restrict User Roles

linux

Temporarily remove contributor-level access for untrusted users

wp user list --role=contributor --field=ID | xargs wp user set-role subscriber

🧯 If You Can't Patch

  • Implement strict input validation and output escaping in custom code
  • Use web application firewall rules to block XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins → Installed Plugins

Check Version:

wp plugin get essential-addons-for-elementor-lite --field=version

Verify Fix Applied:

Verify plugin version is 5.9.23 or higher and test calendar functionality

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to event calendar endpoints
  • Suspicious JavaScript in database content fields

Network Indicators:

  • Unexpected script tags in HTTP responses from calendar pages

SIEM Query:

source="wordpress.log" AND "event_calendar" AND ("script" OR "javascript" OR "onload")

🔗 References

📤 Share & Export