CVE-2024-47390

6.5 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the Jeg Elementor Kit WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. All WordPress sites using vulnerable versions of this plugin are affected. The vulnerability requires attacker access to input fields but doesn't require authentication.

💻 Affected Systems

Products:
  • Jegtheme Jeg Elementor Kit WordPress Plugin
Versions: All versions through 2.6.8
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the Jeg Elementor Kit plugin installed and activated. No special configuration required.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, perform actions as authenticated users, deface websites, or redirect users to malicious sites, potentially leading to complete site compromise.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies or credentials, potentially gaining administrative access to the WordPress site.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

XSS vulnerabilities are commonly weaponized. The stored nature means injected scripts persist and affect multiple users.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.6.9 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/jeg-elementor-kit/wordpress-jeg-elementor-kit-plugin-2-6-8-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 'Jeg Elementor Kit'. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate jeg-elementor-kit

Content Security Policy

all

Implement CSP headers to restrict script execution

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to nginx config: add_header Content-Security-Policy "default-src 'self'; script-src 'self'";

🧯 If You Can't Patch

  • Implement Web Application Firewall (WAF) with XSS protection rules
  • Restrict plugin access to trusted users only using role-based controls

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Jeg Elementor Kit version. If version is 2.6.8 or earlier, you are vulnerable.

Check Version:

wp plugin get jeg-elementor-kit --field=version

Verify Fix Applied:

Verify plugin version is 2.6.9 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints with script tags
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • Inbound requests containing <script> tags to plugin-specific URLs
  • Outbound connections to suspicious domains after page loads

SIEM Query:

source="web_server" AND (uri="*jeg-elementor-kit*" AND (body="*<script>*" OR body="*javascript:*"))

🔗 References

📤 Share & Export