☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 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-10637

CVE-2024-10637 Cross-Site Scripting in Kadence wp
📅 PUBLISHED: 2024-12-12 06:00 UTC 🔄 UPDATED: 2026-08-13 10:06 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.30%
👁️
0.30% probability
7.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.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 0.0
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-10637 is a Stored Cross-Site Scripting (XSS) vulnerability in the Gutenberg Blocks with AI by Kadence WP WordPress plugin (versions before 3.2.54). The flaw arises from insufficient validation and escaping of block options before they are output in a page or post where the block is embedded. This allows authenticated users with at least the Contributor role to inject arbitrary web scripts or HTML. When the malicious block is rendered, the injected payload executes in the context of any visitor’s browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server software.

⚡ 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 is in a WordPress plugin distributed via the official WordPress plugin repository. Users who installed the plugin from the repository are affected if they are running a version prior to 3.2.54. No supply chain compromise of the plugin’s source code has been reported; the issue is a code-level oversight in input sanitization.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Base Score: 6.1 (Medium)
  • Attack Vector: Network (AV:N) – The vulnerability is exploitable remotely.
  • Attack Complexity: Low (AC:L) – No special conditions are required.
  • Privileges Required: Low (PR:L) – An attacker needs a Contributor-level account or higher.
  • User Interaction: None (UI:N) – The victim does not need to perform any action beyond viewing the page.
  • Scope: Changed (S:C) – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality Impact: Low (C:L) – Limited data exposure possible.
  • Integrity Impact: Low (I:L) – Limited modification of content possible.
  • Availability Impact: None (A:N) – No direct denial of service.

Threat Level: Medium. While the CVSS score is moderate, the prevalence of WordPress sites and the low privilege requirement make this a practical attack vector for content injection and phishing.

Deep Dive & Mechanics

The vulnerability resides in the block rendering logic of the Kadence Blocks plugin. When a user inserts a block (e.g., a custom HTML block, accordion, or advanced heading) and provides options such as custom CSS classes, anchor IDs, or inline styles, the plugin fails to properly sanitize and escape these values before outputting them in the page’s HTML.

Specifically, the plugin uses functions like echo $block_options['customClass'] without applying esc_attr() or wp_kses_post(). An attacker with Contributor-level access can craft a block with a payload in a block option field, such as:

" onmouseover="alert('XSS')"

When the block is rendered, the unescaped value is inserted directly into the HTML attribute, breaking out of the attribute context and executing the JavaScript.

The attack flow:

  1. Attacker logs in as a Contributor or higher.
  2. Creates a new post or page and inserts a vulnerable Kadence block.
  3. Injects a malicious payload into a block option (e.g., custom CSS class, anchor, or inline style).
  4. Publishes or saves the post as a draft (if the site allows draft viewing).
  5. Any user visiting the page triggers the XSS payload.

Vulnerable vs. Patched Code

Vulnerable Code (before 3.2.54):

// In block render callback (simplified)
$custom_class = $block['attrs']['customClass'] ?? '';
echo '<div class="' . $custom_class . '">';

Patched Code (3.2.54+):

// In block render callback (simplified)
$custom_class = $block['attrs']['customClass'] ?? '';
echo '<div class="' . esc_attr($custom_class) . '">';

The patch adds esc_attr() to escape the output, preventing attribute injection. Similar fixes were applied to all block options that were previously unescaped.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with Kadence Blocks plugin version < 3.2.54.
  • A user account with Contributor role or higher.

Steps:

  1. Log in to WordPress as a Contributor.
  2. Create a new post.
  3. Add a Kadence Blocks “Advanced Heading” block.
  4. In the block settings, find the “CSS Class” field and enter:
    " onmouseover="alert(document.cookie)
    
  5. Publish the post.
  6. When any user visits the post, the XSS triggers on mouseover.

Alternative Payload (auto-execute):

" autofocus onfocus="alert(1)

Blue Team (Detection & Prevention)

Detection:

  • Monitor for posts/pages containing suspicious HTML attributes in block content.
  • Look for unusual block option values in the wp_posts table (post_content column).
  • Use WAF rules to block common XSS patterns in POST requests to wp-admin/post.php.

Prevention:

  • Immediately upgrade to Kadence Blocks 3.2.54 or later.
  • Restrict Contributor role capabilities if not needed.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.

Indicators of Compromise (IOCs)

  • Post Content Pattern: Look for onmouseover, onfocus, onerror, or javascript: in the post_content field of the wp_posts table.
  • Block Option Injection: Unescaped double quotes (") followed by event handlers in block attributes.
  • HTTP Request: POST to /wp-admin/post.php with post_content containing malicious HTML attributes.
  • Log Entries: Suspicious user activity from Contributor accounts creating posts with unusual block configurations.

Detection Engineering

YARA Rule

rule Kadence_Blocks_XSS_CVE_2024_10637 {
    meta:
        description = "Detects stored XSS payloads in Kadence Blocks post content"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-10637"
    strings:
        $xss1 = /on\w+\s*=\s*["']?[^"']*["']?/ nocase
        $xss2 = /javascript\s*:/ nocase
        $block_marker = "wp:kadence/"
    condition:
        $block_marker and ($xss1 or $xss2)
}

Sigma Rule

title: Stored XSS via Kadence Blocks Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS attempts in WordPress posts using Kadence Blocks
author: Valters IT
logsource:
    category: application
    product: wordpress
detection:
    selection:
        post_content|contains:
            - 'onmouseover='
            - 'onfocus='
            - 'onerror='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of event handlers in custom HTML blocks (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-10637 Kadence Blocks Stored XSS Payload";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/post.php"; http_uri;
    content:"post_content"; http_client_body;
    pcre:"/(on\w+\s*=\s*[\x22\x27]|javascript\s*:)/i";
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade the Kadence Blocks plugin to version 3.2.54 or higher.
  2. Audit existing posts for injected payloads using the YARA or Sigma rules above.
  3. Remove any malicious content found in posts or pages.

Long-Term Mitigations:

  • Implement a Web Application Firewall (WAF) with rules to block XSS patterns.
  • Enforce Content Security Policy (CSP) headers to restrict script execution.
  • Regularly update all WordPress plugins and themes.
  • Limit user roles: only grant Contributor access when absolutely necessary.

Verification:

  • After patching, test by attempting to inject XSS in a staging environment.
  • Monitor logs for any recurrence of the attack pattern.

Report generated by Valters IT DevSecOps & CTI Division

👁️ 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/kadence-blocks"
http.html:"kadence-blocks" "wp-json"

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