CVE-2024-47630

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the ElementInvader Addons for Elementor WordPress plugin allows attackers to inject malicious scripts into web pages. When users view pages containing the malicious content, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • ElementInvader Addons for Elementor WordPress plugin
Versions: All versions up to and including 1.2.7
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with Elementor page builder and the vulnerable plugin installed and activated.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress sites, deface websites, or redirect visitors to malicious sites, potentially leading to complete site compromise and data theft.

🟠

Likely Case

Attackers inject malicious JavaScript that steals user session cookies or credentials when users visit compromised pages, leading to account takeover and unauthorized access.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users' browsers, preventing execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Stored XSS vulnerabilities in WordPress plugins are commonly exploited. Attackers typically need contributor-level access or higher to inject malicious scripts.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.2.8 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/elementinvader-addons-for-elementor/wordpress-elementinvader-addons-for-elementor-plugin-1-2-7-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'ElementInvader Addons for Elementor'. 4. Click 'Update Now' if update available. 5. If no update appears, manually download version 1.2.8+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the ElementInvader Addons for Elementor plugin until patched

wp plugin deactivate elementinvader-addons-for-elementor

Implement Content Security Policy

all

Add CSP headers to restrict script execution sources

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to wp-config.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");

🧯 If You Can't Patch

  • Restrict user roles that can edit posts/pages to trusted administrators only
  • Implement web application firewall (WAF) rules to block XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'ElementInvader Addons for Elementor' version 1.2.7 or lower

Check Version:

wp plugin get elementinvader-addons-for-elementor --field=version

Verify Fix Applied:

Verify plugin version is 1.2.8 or higher in WordPress admin plugins page

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php or admin-post.php with script tags in parameters
  • Multiple failed login attempts followed by successful contributor/admin login

Network Indicators:

  • Outbound connections to suspicious domains from your WordPress server
  • Unusual JavaScript payloads in HTTP requests

SIEM Query:

source="wordpress.log" AND ("admin-ajax.php" OR "admin-post.php") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export