Home

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 Reserved 2025-09-02 | Published 2025-09-06 | Updated 2025-09-08 | Assigner Wordfence




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Problem types

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

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-09-03:Vendor Notified
2025-09-05:Disclosed

Credits

Peter Thaleikis finder

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=

cve.org (CVE-2025-9849)

nvd.nist.gov (CVE-2025-9849)

Download JSON