CVE-2026-123827: Easy Social Share Buttons for WordPress <= 11.6.1 - Unauthenticated Stored Cross-Site Scripting via 'service' and 'position' Parameters
The Easy Social Share Buttons for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'position' parameter in all versions up to, and including, 11.6.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is stored via the unauthenticated wpajaxnopriv ESSB stat log AJAX action, which performs no nonce or capability check, and executes when the attacker-controlled position value is rendered verbatim into a double-quoted HTML data- attribute where the unescaped quote allows attribute breakout.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated remote attacker can exploit it. The vulnerable AJAX action does not require a nonce or capability check.
What must an attacker do for the injected script to run?
The attacker must submit a crafted position value through the unauthenticated ESSB stat log AJAX action. The script executes when a user accesses a page where the stored value is rendered.
Are affected sites vulnerable without special configuration?
The issue is reachable through the unauthenticated wp_ajax_nopriv_ ESSB stat log AJAX action. The provided data does not identify any additional configuration requirement.
How does the payload escape its intended context?
The position value is rendered verbatim in a double-quoted HTML data attribute. An unescaped quote in the attacker-controlled value enables an attribute breakout and script injection.