CVE-2026-123827 in Easy Social Share Buttons Plugininfo

Summary

by MITRE • 11/26/2026

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 wp_ajax_nopriv_ 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.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The Easy Social Share Buttons for WordPress plugin contains a critical security vulnerability affecting all versions up to and including 11.6.1, classified as Stored Cross-Site Scripting or CWE-79. This flaw stems from insufficient input sanitization and output escaping mechanisms within the application logic. Specifically, the vulnerability resides in the handling of the position parameter, which is processed through an unauthenticated AJAX action named wp_ajax_nopriv_ESSB_stat_log. The absence of nonce verification or capability checks on this endpoint allows any user, including those without valid login credentials, to interact with the function and inject malicious content into the system database.

The technical mechanism of exploitation involves injecting a crafted payload via the position parameter during an AJAX request. Because the application fails to properly sanitize this input before storage, the attacker-controlled data is persisted in the WordPress database. Subsequently, when the page containing the social share buttons is rendered for legitimate users, the stored value is retrieved and inserted directly into HTML attributes without adequate escaping. The specific failure occurs within double-quoted HTML data-* attributes where an unescaped quote character allows the attacker to break out of the attribute context. This breakout enables the injection of arbitrary JavaScript code that executes in the victim's browser session whenever they view the affected page, leading to a persistent cross-site scripting attack vector.

The operational impact of this vulnerability is severe due to its stored nature and lack of authentication requirements. Attackers can deploy phishing campaigns by redirecting users to malicious sites or stealing sensitive information such as administrative cookies and session tokens through script injection. Since no login is required to trigger the initial payload storage, the barrier for entry is minimal, allowing widespread exploitation across any WordPress site running the vulnerable plugin version. The persistence of the attack means that every visitor to a compromised page becomes a potential victim, amplifying the scope of damage beyond just those who interact directly with the malicious input vector.

Mitigation strategies should prioritize immediate remediation by updating the Easy Social Share Buttons for WordPress plugin to the latest patched version where these sanitization and escaping issues have been addressed. In environments where an update is not immediately feasible, administrators can implement a Web Application Firewall rule to block requests containing suspicious patterns in the position parameter or disable the specific AJAX endpoint if it is not essential for core functionality. Additionally, enforcing strict Content Security Policy headers can help mitigate the impact of any successful script injection by restricting the sources from which scripts are allowed to execute. Regular security audits and adherence to secure coding standards such as OWASP guidelines are recommended to prevent similar input validation failures in future development cycles.

Responsible

Wordfence

Reservation

11/06/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00407

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!