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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
2025-09-03: | Vendor Notified |
2025-09-05: | Disclosed |
Credits
Peter Thaleikis
References
www.wordfence.com/...-55a6-4422-9995-4cc1761d430e?source=cve
plugins.trac.wordpress.org/...ns/trunk/html-social-share.php
github.com/...dcf01747eacd814c754cc2d4/html-social-share.php
plugins.trac.wordpress.org/...-buttons&sfp_email=&sfph_mail=