☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Themehunk logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-8433

CVE-2024-8433 Cross-Site Scripting in Themehunk
📅 PUBLISHED: 2024-10-08 09:33 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.26%
👁️
0.26% probability
6.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-8433 is a Stored Cross-Site Scripting (XSS) vulnerability in the Easy Mega Menu Plugin for WordPress – ThemeHunk plugin. The flaw resides in the themehunk_megamenu_bg_image parameter, which is insufficiently sanitized and escaped. Authenticated attackers with subscriber-level access or higher can inject arbitrary web scripts that execute when any user visits a page containing the injected payload. The vendor released version 1.1.0 with partial authorization fixes, but the core XSS issue remains unpatched. This vulnerability is part of the WordPress ecosystem and does not affect Apache or Nginx directly.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. No known supply chain compromise has been reported, but the lack of a complete patch increases risk for sites using this plugin. Administrators should monitor for updates and consider removing the plugin if no full fix is provided.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Subscriber)
  • User Interaction: None
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires authentication but is easily exploitable by low-privilege users. The stored XSS can lead to session hijacking, defacement, or phishing attacks.

Deep Dive & Mechanics

The vulnerability exists in the themehunk_megamenu_bg_image parameter, which is used to set a background image URL for mega menu items. The plugin fails to properly sanitize user input and escape output when rendering this parameter. An authenticated attacker with subscriber-level access can inject malicious JavaScript code into the parameter. When an administrator or other user views the menu settings or a page that renders the menu, the injected script executes in the context of the victim’s browser.

The partial fix in version 1.1.0 added authorization checks to prevent unauthorized access to the menu settings, but it did not address the underlying input sanitization issue. Therefore, any user who can still access the menu settings (e.g., editors or administrators) can exploit the XSS.

Vulnerable vs. Patched Code

Vulnerable Code (<= 1.1.0):

// In themehunk-megamenu.php or similar
$bg_image = $_POST['themehunk_megamenu_bg_image'];
// No sanitization or escaping
update_option('themehunk_megamenu_bg_image', $bg_image);

Patched Code (Not available):

// Expected fix
$bg_image = sanitize_url($_POST['themehunk_megamenu_bg_image']);
update_option('themehunk_megamenu_bg_image', esc_url($bg_image));

The vulnerable code directly stores user input without sanitization. A proper fix would use sanitize_url() on input and esc_url() on output.

Exploitation & Lab Setup

Red Team

  1. Prerequisites: WordPress installation with Easy Mega Menu Plugin <= 1.1.0, a subscriber-level account.

  2. Steps:

    • Log in as a subscriber.
    • Navigate to the menu settings (e.g., /wp-admin/admin.php?page=themehunk-megamenu).
    • Set the themehunk_megamenu_bg_image parameter to a malicious payload:
      " onerror="alert('XSS')" x="
      
    • Save the settings.
    • When an administrator visits the menu settings or a page rendering the menu, the script executes.
  3. Proof of Concept:

    curl -X POST 'http://target/wp-admin/admin.php?page=themehunk-megamenu' \
    -d 'themehunk_megamenu_bg_image=" onerror="alert(document.cookie)" x="' \
    --cookie 'wordpress_logged_in_xxx=subscriber_cookie'
    

Blue Team

  1. Detection: Monitor for unusual POST requests to admin.php?page=themehunk-megamenu with suspicious themehunk_megamenu_bg_image values.
  2. Mitigation:
    • Disable the plugin until a full patch is released.
    • Use a Web Application Firewall (WAF) to block XSS payloads.
    • Restrict access to menu settings to trusted roles only.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/themehunk-megamenu/themehunk-megamenu.php
  • Database Option: themehunk_megamenu_bg_image containing malicious JavaScript.
  • Network: POST requests to /wp-admin/admin.php?page=themehunk-megamenu with themehunk_megamenu_bg_image parameter containing script tags or event handlers.
  • Logs: WordPress debug logs showing unexpected script execution.

Detection Engineering

YARA Rule

rule CVE_2024_8433_Stored_XSS {
    meta:
        description = "Detects stored XSS payload in themehunk_megamenu_bg_image option"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "CVE-2024-8433"
    strings:
        $payload1 = /themehunk_megamenu_bg_image.*<script/i
        $payload2 = /themehunk_megamenu_bg_image.*onerror/i
        $payload3 = /themehunk_megamenu_bg_image.*onload/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-8433 Stored XSS in Easy Mega Menu Plugin
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects exploitation attempts of stored XSS via themehunk_megamenu_bg_image parameter
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'admin.php?page=themehunk-megamenu'
        cs-uri-query|contains: 'themehunk_megamenu_bg_image'
    condition: selection
falsepositives:
    - Legitimate admin updates with safe URLs
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-8433 Stored XSS in Easy Mega Menu Plugin";
    flow:to_server,established;
    content:"POST";
    http_method;
    content:"admin.php?page=themehunk-megamenu";
    http_uri;
    content:"themehunk_megamenu_bg_image";
    http_client_body;
    pcre:"/themehunk_megamenu_bg_image=[^&]*<[^>]*script/i";
    sid:1000001;
    rev:1;
    reference:cve,2024-8433;
)

Remediation & Mitigation

  1. Immediate: Disable the Easy Mega Menu Plugin until a full patch is released.
  2. Short-term:
    • Implement a WAF rule to block XSS payloads in the themehunk_megamenu_bg_image parameter.
    • Restrict access to menu settings to administrators only.
  3. Long-term:
    • Apply input sanitization (sanitize_url()) and output escaping (esc_url()) to the vulnerable parameter.
    • Monitor the plugin repository for an official patch.
  4. Workaround: If the plugin is essential, manually edit the code to add sanitization as shown in the patched code section.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/themehunk-megamenu"
http.html:"themehunk_megamenu_bg_image"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-8433/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.