WP Social Widget Security & Risk Analysis

wordpress.org/plugins/wp-social-widget

A widget to add links of social networking sites.

4K active installs v2.3.1 PHP + WP 2.8+ Updated May 25, 2025
social-iconssocial-linkssocial-mediasocial-networkwp-social-widget
74
B · Generally Safe
CVEs total5
Unpatched1
Last CVESep 22, 2025
Safety Verdict

Is WP Social Widget Safe to Use in 2026?

Mostly Safe

Score 74/100

WP Social Widget is generally safe to use. 5 past CVEs were resolved. Keep it updated.

5 known CVEs 1 unpatched Last CVE: Sep 22, 2025Updated 10mo ago
Risk Assessment

The wp-social-widget plugin, version 2.3.1, exhibits a mixed security posture. On the positive side, it demonstrates good practices by exclusively using prepared statements for SQL queries and includes a nonce check. The static analysis also reveals no dangerous functions, file operations, or external HTTP requests, and a relatively small attack surface with only one shortcode entry point, none of which are immediately identified as unprotected. However, a significant concern arises from the code's output escaping, where only 58% of outputs are properly escaped. This indicates a potential for Cross-Site Scripting (XSS) vulnerabilities, especially given the plugin's history. The vulnerability history is a major red flag, with a total of 5 known CVEs, one of which remains unpatched. The prevalence of medium-severity XSS vulnerabilities in its past suggests a recurring pattern of improper input handling. While no critical or high-severity issues were found in the current static analysis, the history and the partial output escaping suggest a considerable risk of new or existing vulnerabilities being exploitable. The lack of capability checks on the single entry point is also a potential area of concern for privilege escalation or unauthorized access if the shortcode handles sensitive data or actions.

Key Concerns

  • Unpatched CVEs present
  • Significant portion of outputs not properly escaped
  • No capability checks on entry points
  • History of multiple medium severity CVEs
Vulnerabilities
5

WP Social Widget Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
1 CVE in 2024
2024
3 CVEs in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
5

5 total CVEs

CVE-2025-57981medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Widget <= 2.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Sep 22, 2025Unpatched
CVE-2025-49306medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Widget <= 2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting

Jun 5, 2025 Patched in 2.3.1 (7d)
CVE-2025-30610medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Widget <= 2.2.6 - Authenticated (Contributor+) Stored Cross-Site Scripting

Mar 24, 2025 Patched in 2.2.7 (38d)
CVE-2024-27189medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Widget <= 2.2.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via shortcode

Feb 28, 2024 Patched in 2.2.6 (1d)
CVE-2023-0074medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Social Widget <= 2.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Jan 6, 2023 Patched in 2.2.4 (382d)
Code Analysis
Analyzed Mar 16, 2026

WP Social Widget Code Analysis

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

Output Escaping

58% escaped310 total outputs
Attack Surface

WP Social Widget Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[wpsw] inc\shortcodes.php:178
WordPress Hooks 4
actionadmin_enqueue_scriptsinc\include_file.php:4
actionwp_enqueue_scriptsinc\include_file.php:5
filterwidget_textinc\shortcodes.php:4
actionwidgets_initinc\social-widget.php:651
Maintenance & Trust

WP Social Widget Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMay 25, 2025
PHP min version
Downloads122K

Community Trust

Rating94/100
Number of ratings11
Active installs4K
Developer Profile

WP Social Widget Developer Profile

catchsquare

5 plugins · 10K total installs

68
trust score
Avg Security Score
84/100
Avg Patch Time
159 days
View full developer profile
Detection Fingerprints

How We Detect WP Social Widget

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-widget/assets/css/social-icons.css/wp-content/plugins/wp-social-widget/assets/css/social-style.css/wp-content/plugins/wp-social-widget/assets/js/social-color_picker.js/wp-content/plugins/wp-social-widget/assets/css/social-admin_style.css
Script Paths
/wp-content/plugins/wp-social-widget/assets/js/social-color_picker.js
Version Parameters
wp-social-widget/assets/css/social-icons.css?ver=wp-social-widget/assets/css/social-style.css?ver=wp-social-widget/assets/js/social-color_picker.js?ver=wp-social-widget/assets/css/social-admin_style.css?ver=

HTML / DOM Fingerprints

CSS Classes
wpsw-social-links-shortcodesocial-iconsicon-behancesicon-dribbblesicon-facebooksicon-flickrsicon-foursquaresicon-github+16 more
Data Attributes
aria-label="Behance"aria-label="Dribble"aria-label="facebook"aria-label="Flickr"aria-label="Foursquare"aria-label="github"+6 more
Shortcode Output
<ul class='wpsw-social-links-shortcode'><li class="behance"><a href="<li class="dribbble"><a href="<li class="facebook"><a href="
FAQ

Frequently Asked Questions about WP Social Widget