CVE-2025-9849: Html Social share buttons <= 2.1.16 - Authenticated (Contributor+) Stored Cross-Site Scripting
The Html Social share buttons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'zmshbtn' 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-9849?
CVE-2025-9849 is classified as a high-severity vulnerability due to its potential for exploitation via stored cross-site scripting.
How do I fix CVE-2025-9849?
To fix CVE-2025-9849, update the Html Social share buttons plugin to version 2.1.17 or later.
Who is affected by CVE-2025-9849?
CVE-2025-9849 affects all versions of the Html Social share buttons plugin up to and including 2.1.16 integrated with WordPress.
What type of vulnerability is CVE-2025-9849?
CVE-2025-9849 is a Stored Cross-Site Scripting (XSS) vulnerability.
What causes the vulnerability in CVE-2025-9849?
The vulnerability in CVE-2025-9849 is caused by insufficient input sanitization and output escaping on user supplied attributes.