Social Share Buttons Security & Risk Analysis

wordpress.org/plugins/share-button

Our Share Button addon to MaxButtons and MaxButtons Pro plugins gets you up and sharing within minutes. It's easy to setup and offers flexibility …

1K active installs v1.20 PHP 7.0+ WP 4.8+ Updated Sep 17, 2025
facebooksocial-iconstwitterwordpress-share-buttonswordpress-social-share
99
A · Safe
CVEs total1
Unpatched0
Last CVEOct 18, 2024
Safety Verdict

Is Social Share Buttons Safe to Use in 2026?

Generally Safe

Score 99/100

Social Share Buttons has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

1 known CVELast CVE: Oct 18, 2024Updated 8mo ago
Risk Assessment

The "share-button" plugin v1.20 exhibits a mixed security posture. On the positive side, all SQL queries are properly prepared, which is a significant strength against SQL injection vulnerabilities. The absence of critical or high-severity taint analysis findings is also reassuring. However, several areas raise significant concerns. The plugin has a considerable attack surface with 5 entry points, 4 of which lack authentication checks. This means that potentially sensitive actions could be triggered by unauthenticated users. Furthermore, a substantial percentage (55%) of output escaping is not properly handled, increasing the risk of Cross-Site Scripting (XSS) vulnerabilities, especially when combined with the unprotected AJAX handlers. The vulnerability history shows a past medium-severity XSS vulnerability, which, while currently patched, indicates a historical weakness in input sanitization and output escaping. This, coupled with the identified code signals, suggests that while some fundamental security practices are in place, critical aspects of input validation and authorization for AJAX endpoints need substantial improvement.

Key Concerns

  • 4 unprotected AJAX handlers
  • 55% of output escaping is not proper
  • 1 medium severity CVE in history
  • 2 unsanitized path taint flows
  • 0 capability checks
Vulnerabilities
1 published

Social Share Buttons Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2024-9219medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WordPress Social Share Buttons <= 1.19 - Reflected Cross-Site Scripting

Oct 18, 2024 Patched in 1.20 (1d)
Version History

Social Share Buttons Release Timeline

v1.20Current
v1.191 CVE
v1.181 CVE
v1.171 CVE
v1.161 CVE
v1.151 CVE
v1.121 CVE
v1.111 CVE
v1.101 CVE
v1.91 CVE
v1.81 CVE
v1.71 CVE
v1.61 CVE
v1.51 CVE
v1.41 CVE
v1.31 CVE
v1.21 CVE
v1.1.21 CVE
v1.1.11 CVE
v1.11 CVE
Code Analysis
Analyzed Mar 16, 2026

Social Share Buttons Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
9 prepared
Unescaped Output
51
41 escaped
Nonce Checks
2
Capability Checks
0
File Operations
3
External Requests
3
Bundled Libraries
0

SQL Query Safety

100% prepared9 total queries

Output Escaping

45% escaped92 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

3 flows2 with unsanitized paths
outputFileCSS (classes\class-collections.php:142)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
4 unprotected

Social Share Buttons Attack Surface

Entry Points5
Unprotected4

AJAX Handlers 4

authwp_ajax_mbsocial_get_countclasses\class-social.php:66
noprivwp_ajax_mbsocial_get_countclasses\class-social.php:67
authwp_ajax_maxbuttons_social_cssclasses\class-social.php:73
noprivwp_ajax_maxbuttons_social_cssclasses\class-social.php:74

Shortcodes 1

[maxsocial] classes\class-social.php:50
WordPress Hooks 25
filtermbsocial/displaycss/classes\blocks\layout-block.php:98
actionadmin_noticesclasses\class-admin.php:319
filterthe_contentclasses\class-collections.php:127
actionwp_headclasses\class-collections.php:132
actionadmin_noticesclasses\class-install.php:71
filterhttp_request_host_is_externalclasses\class-social-networks.php:27
actionadmin_enqueue_scriptsclasses\class-social.php:40
filtermaxbuttons/plugin/admin_pagesclasses\class-social.php:43
actionadd_meta_boxesclasses\class-social.php:45
actionsave_postclasses\class-social.php:46
actionwp_enqueue_scriptsclasses\class-social.php:48
actionmaxbuttons/ajax/save_collectionclasses\class-social.php:52
actionmaxbuttons/ajax/remove-collectionclasses\class-social.php:53
actionmaxbuttons/ajax/refreshblockclasses\class-social.php:55
actionmaxbuttons/ajax/get_presetsclasses\class-social.php:56
actionmaxbuttons/ajax/set_presetclasses\class-social.php:57
actionmaxbuttons/ajax/network-settingsclasses\class-social.php:59
actionmaxbuttons/ajax/save-networkclasses\class-social.php:60
actionmaxbuttons/ajax/remove-networksettingsclasses\class-social.php:61
actionmaxbuttons/ajax/show-customnetworksclasses\class-social.php:62
actionmaxbuttons/ajax/import-customnetworksclasses\class-social.php:63
actionadmin_initclasses\class-social.php:70
actionmaxbuttons/ajax/mbsocial_review_notice_statusclasses\class-social.php:71
filtermbsocial/parsecss/classes\network\mbcustom.php:39
actionplugins_loadedshare-button.php:25
Maintenance & Trust

Social Share Buttons Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 17, 2025
PHP min version7.0
Downloads54K

Community Trust

Rating94/100
Number of ratings27
Active installs1K
Developer Profile

Social Share Buttons Developer Profile

maxfoundry

5 plugins · 103K total installs

75
trust score
Avg Security Score
94/100
Avg Patch Time
423 days
View full developer profile
Detection Fingerprints

How We Detect Social Share Buttons

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/share-button/css/admin-style.css/wp-content/plugins/share-button/css/frontend.css/wp-content/plugins/share-button/css/style.css
Script Paths
/wp-content/plugins/share-button/js/share-button-admin.js/wp-content/plugins/share-button/js/share-button-frontend.js/wp-content/plugins/share-button/js/share-button.js/wp-content/plugins/share-button/js/maxbuttons-admin.js/wp-content/plugins/share-button/js/maxbuttons-frontend.js/wp-content/plugins/share-button/js/maxbuttons.js
Version Parameters
share-button/css/admin-style.css?ver=share-button/css/frontend.css?ver=share-button/css/style.css?ver=share-button/js/share-button-admin.js?ver=share-button/js/share-button-frontend.js?ver=share-button/js/share-button.js?ver=share-button/js/maxbuttons-admin.js?ver=share-button/js/maxbuttons-frontend.js?ver=share-button/js/maxbuttons.js?ver=

HTML / DOM Fingerprints

CSS Classes
mbsocial-boxmeta_box_contentmb-socialmb-labelstyleBlockoption-container style
HTML Comments
<!-- defined $post_type and $post in function -->
Data Attributes
data-refresh='previewBlock'id='styleBlock'
JS Globals
MBSocial()
FAQ

Frequently Asked Questions about Social Share Buttons