WP Social Buttons Security & Risk Analysis

wordpress.org/plugins/wp-social-buttons

An add official Social Buttons using floating sidebar (Facebook,Twitter,Linkedin,Google+,Pinterest)

100 active installs v2.2 PHP + WP 5.6+ Updated Jul 4, 2022
share-buttonssocial-buttonssocial-sharewp-socialwp-social-buttons
85
A · Safe
CVEs total1
Unpatched0
Last CVEApr 13, 2022
Download
Safety Verdict

Is WP Social Buttons Safe to Use in 2026?

Generally Safe

Score 85/100

WP Social 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: Apr 13, 2022Updated 3yr ago
Risk Assessment

The static analysis of wp-social-buttons v2.2 indicates a generally strong security posture with no identified attack surface points or dangerous functions. The plugin demonstrates good practices by ensuring all identified outputs are properly escaped and avoiding file operations or external HTTP requests. However, the presence of a single SQL query that is not using prepared statements is a notable concern, as it could potentially lead to SQL injection vulnerabilities if the input is not meticulously handled elsewhere. The vulnerability history reveals a past medium-severity Cross-Site Scripting (XSS) vulnerability, which is concerning despite being patched. This suggests a past weakness in input sanitization or output escaping that could resurface if similar coding patterns are used.

While the absence of critical taint flows and a clean bill of health in terms of attack surface are positive, the unpatched SQL query and the historical XSS issue warrant attention. The plugin appears to have been fixed for its past vulnerability, but the lack of prepared statements in its current code represents a potential entry point for attackers. Therefore, while the plugin exhibits some good security practices, these specific areas represent risks that should be mitigated to further strengthen its overall security.

Key Concerns

  • SQL queries not using prepared statements
  • History of medium severity XSS vulnerability
Vulnerabilities
1 published

WP Social Buttons Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2022-0874medium · 4.8Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Buttons <= 2.1 - Admin+ Cross-Site Scripting

Apr 13, 2022 Patched in 2.2 (650d)
Version History

WP Social Buttons Release Timeline

v2.2Current
v2.01 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.11 CVE
v1.01 CVE
Code Analysis
Analyzed Mar 16, 2026

WP Social Buttons Code Analysis

Dangerous Functions
0
Raw SQL Queries
1
0 prepared
Unescaped Output
0
1 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared1 total queries

Output Escaping

100% escaped1 total outputs
Attack Surface

WP Social Buttons Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuwp-social-buttons.php:34
actionadmin_initwp-social-buttons.php:41
actionadmin_footerwp-social-buttons.php:189
actionwp_footerwpsb-class.php:73
actionwp_enqueue_scriptswpsb-class.php:74
actionwp_enqueue_scriptswpsb-class.php:75
actionwp_headwpsb-class.php:105
Maintenance & Trust

WP Social Buttons Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJul 4, 2022
PHP min version
Downloads32K

Community Trust

Rating100/100
Number of ratings5
Active installs100
Developer Profile

WP Social Buttons Developer Profile

WP-EXPERTS.IN

21 plugins · 30K total installs

72
trust score
Avg Security Score
90/100
Avg Patch Time
347 days
View full developer profile
Detection Fingerprints

How We Detect WP Social Buttons

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-social-buttons/style.css/wp-content/plugins/wp-social-buttons/js/wpsb-script.js
Script Paths
/wp-content/plugins/wp-social-buttons/js/wpsb-script.js
Version Parameters
wp-social-buttons/style.css?ver=wp-social-buttons/js/wpsb-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpsb-settingswpsb-tab-menuwpsb-tab-linkswpsb-generalwpsb-advancewpsb-supportwpsb-goprowpsb-setting+5 more
Data Attributes
id="wpsb-settings"id="wpsb-tab-menu"class="wpsb-tab-links active"id="wpsb-general"class="wpsb-tab-links"id="wpsb-advance"+33 more
FAQ

Frequently Asked Questions about WP Social Buttons