CVE-2025-9849

Html Social share buttons <= 2.1.16 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Sep 6, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
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'}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:25 PM
Reserved
Sep 2, 2025, 2:57 PM
Status
Deferred
Published
Sep 6, 2025, 2:15 AM
Modified
Jun 17, 2026, 10:09 AM