Skip to main content
Vulnerability Database/CVE-2026-100108

CVE-2026-100108: WordPress Social Share Buttons XSS Flaw

CVE-2026-100108 is a stored cross-site scripting vulnerability in the Social Share Buttons plugin for WordPress that lets authenticated attackers inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100108 Overview

CVE-2026-100108 is a Stored Cross-Site Scripting (XSS) vulnerability in the Social Share Buttons plugin for WordPress, affecting all versions up to and including 1.30. The flaw resides in the form parameter (specifically the share_url field) processed by the plugin's save-network handler. Insufficient input sanitization and output escaping allow authenticated users with subscriber-level access or higher to inject arbitrary web scripts. The injected payload executes in the browser of any user who later loads an affected page. The vulnerability is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

An authenticated subscriber can persist arbitrary JavaScript into WordPress pages, enabling session theft, administrative action forgery, and client-side redirection against site visitors and administrators.

Affected Products

  • Social Share Buttons plugin for WordPress — all versions through 1.30
  • WordPress sites with subscriber-or-higher registration enabled
  • Multi-author WordPress installations exposing the plugin's admin interface

Discovery Timeline

  • 2026-10-16 - CVE-2026-100108 published to the National Vulnerability Database
  • 2026-10-16 - Record last modified in NVD

Technical Details for CVE-2026-100108

Vulnerability Analysis

The Social Share Buttons plugin exposes a save-network handler that persists share-network configuration, including a share_url field submitted through the form parameter. The handler stores user-supplied values without applying WordPress sanitization helpers such as sanitize_text_field() or esc_url_raw(). The plugin then renders these values into page markup without esc_attr() or esc_html() escaping. The combination allows an authenticated attacker to persist an HTML or JavaScript payload that executes in the DOM when a page containing the share block is rendered.

Exploitation requires one unusual precondition. The nonce required to reach the save-network handler is only emitted into the admin DOM after the plugin's 7-day review-nag timer elapses from the attacker's first wp-admin visit. An attacker therefore needs persistent subscriber access across that window before the save path becomes reachable.

Root Cause

The root cause is missing input validation and missing output escaping across the plugin classes handling share-network data. The relevant implementation lives in class-network.php, class-social-networks.php, and the network-block.php render path. User input flows from the admin form directly into stored options and then into rendered HTML attributes.

Attack Vector

The attack vector is network-based and authenticated. An attacker registers or compromises a subscriber account, waits for the review-nag nonce to appear in the admin DOM, submits a crafted form payload containing a malicious share_url, and waits for site visitors — including administrators — to load a page that renders the share-network block. See the Wordfence Vulnerability Report and the WordPress Plugin Review Notice Code for the nonce-gating detail.

No verified public exploit code is available at this time. Refer to the plugin's class-social.php rendering functionality for the sink location.

Detection Methods for CVE-2026-100108

Indicators of Compromise

  • Share-network records in the wp_options table whose share_url value contains <script, javascript:, onerror=, or encoded script delimiters.
  • Unexpected POST requests to admin-ajax.php or the plugin's admin endpoint from low-privilege user sessions carrying a form parameter.
  • Outbound browser requests from site visitors to attacker-controlled domains originating from pages that render the share block.

Detection Strategies

  • Query stored plugin options for HTML control characters and known XSS primitives in share-network fields.
  • Correlate subscriber-level authentication events with subsequent writes to plugin-owned options via web server and WordPress audit logs.
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution originating from rendered share markup.

Monitoring Recommendations

  • Monitor WordPress role assignments and new subscriber registrations for anomalous volume or scripted sign-ups.
  • Alert on administrative action chains that follow a page view where the share block is rendered, which may indicate stolen session reuse.
  • Track plugin version inventory across WordPress estates and flag any installation still running Social Share Buttons 1.30 or earlier.

How to Mitigate CVE-2026-100108

Immediate Actions Required

  • Update the Social Share Buttons plugin to the version published in the WordPress Plugin Change Set 3735252 or later.
  • Audit existing share-network records in the database and remove any entry containing HTML or JavaScript syntax in the share_url field.
  • Review subscriber accounts created in the last 90 days and disable accounts that show no legitimate activity.

Patch Information

The maintainer corrected the vulnerability in the change set referenced above, which adds sanitization and escaping to the share-network save and render paths. Site operators should upgrade through the WordPress plugin installer or by replacing the plugin directory with the patched release. Confirm the deployed version is greater than 1.30 after upgrade.

Workarounds

  • Disable the Social Share Buttons plugin until it can be upgraded to a fixed release.
  • Restrict new user registration or set the default role to a non-authenticated value to remove subscriber-level reachability.
  • Enforce a strict Content Security Policy that disallows inline scripts on front-end templates rendering the share block.
bash
# Verify the installed plugin version and remove the vulnerable release
wp plugin get share-button --field=version
wp plugin deactivate share-button
wp plugin update share-button

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.