Description
The Html Social share buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'zm_sh_btn' shortcode in all versions up to, and including, 2.1.16 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-09-06
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that can be triggered by authenticated contributors and above to run arbitrary scripts on site pages
Action: Patch
AI Analysis

Impact

The Html Social share buttons plugin for WordPress stores user‑supplied attributes from the ‘zm_sh_btn’ shortcode without proper sanitization or escaping, allowing an authenticated contributor to embed malicious JavaScript. When the affected page is loaded, the injected script runs in the context of the site, potentially disclosing sensitive data, defacing content, or enabling further attacks on other users. This vulnerability is a classic stored XSS flaw (CWE‑79).

Affected Systems

WordPress sites using the Html Social share buttons plugin, versions 2.1.16 and earlier. The issue appears in all releases up to and including 2.1.16, regardless of additional custom settings.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, and the EPSS score of less than 1% suggests low exploitation probability at this time. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog. Attackers must be authenticated with contributor or higher privileges; they can then persistently inject code that executes whenever any user visits an affected page. Given that the payload is stored, it can remain active until removed, which increases the potential impact if the site is widely visited.

Generated by OpenCVE AI on April 20, 2026 at 19:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Html Social share buttons plugin to the latest version that addresses the XSS flaw
  • If an update is not yet available, deactivate the plugin or remove instances of the zm_sh_btn shortcode from content until a fix is applied
  • Revoke or limit contributor‑level access on the WordPress installation to reduce the window of opportunity for malicious input
  • Monitor the site’s content database for unexpected script tags and run periodic XSS scanning tools to detect residual injections

Generated by OpenCVE AI on April 20, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-27057 The Html Social share buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'zm_sh_btn' shortcode in all versions up to, and including, 2.1.16 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Wed, 08 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Mon, 08 Sep 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 07 Sep 2025 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Sat, 06 Sep 2025 02:00:00 +0000

Type Values Removed Values Added
Description The Html Social share buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'zm_sh_btn' shortcode in all versions up to, and including, 2.1.16 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Html Social share buttons <= 2.1.16 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:25:03.830Z

Reserved: 2025-09-02T14:57:22.769Z

Link: CVE-2025-9849

cve-icon Vulnrichment

Updated: 2025-09-08T13:58:07.985Z

cve-icon NVD

Status : Deferred

Published: 2025-09-06T02:15:30.767

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-9849

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T19:45:15Z

Weaknesses