Sociality Security & Risk Analysis

wordpress.org/plugins/sociality

Social features for the theme authors.

1K active installs v1.3.5 PHP 7.2+ WP 5.6+ Updated Nov 27, 2024
post-author-blocksharesocial
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Sociality Safe to Use in 2026?

Generally Safe

Score 92/100

Sociality has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The 'sociality' plugin version 1.3.5, based on this static analysis, presents a generally positive security posture. It demonstrates good practices by utilizing prepared statements for all SQL queries and lacks any recorded historical vulnerabilities, indicating a history of security awareness or a lack of past exploitation. The plugin also exhibits a relatively small attack surface with all identified entry points appearing to have some form of authentication or permission checks. Furthermore, there are no identified critical or high-severity taint flows, suggesting that user-supplied input is not being mishandled in a way that could lead to immediate exploitation.

However, there are areas for improvement. The presence of a dangerous function like `create_function` is a significant concern, as it can be exploited for code injection if not used with extreme caution and proper sanitization, although no direct taint flows were found originating from it. More notably, a substantial portion of output (37%) is not properly escaped. This leaves the plugin vulnerable to Cross-Site Scripting (XSS) attacks, where malicious scripts could be injected and executed within the user's browser, potentially leading to session hijacking or other harmful actions. While the number of entry points is low, the lack of explicit nonce checks on all AJAX handlers (though the analysis states 0 unprotected AJAX handlers, the presence of a single nonce check for 2 handlers implies one might not have one) and capability checks on all shortcodes (again, inferring from the single capability check for 2 shortcodes) could still represent potential weaknesses if these checks are not robust.

In conclusion, 'sociality' v1.3.5 has a strong foundation in terms of SQL query handling and vulnerability history. The primary weaknesses lie in the potential for XSS due to unescaped output and the presence of the `create_function` function. Addressing these issues, particularly the output escaping, should be a priority to significantly enhance the plugin's security.

Key Concerns

  • Dangerous function: create_function detected
  • 37% of outputs not properly escaped (XSS risk)
  • Potential insufficient nonce/capability checks
Vulnerabilities
None known

Sociality Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Sociality Code Analysis

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

Dangerous Functions Found

create_function$callback = create_function( '', 'echo "' . str_replace( '"', '\"', $section['desc'] ) . '";'classes\class-settings-api.php:110

Output Escaping

63% escaped82 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
wechat_share_render (classes\class-sharing.php:71)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Sociality Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 2

noprivwp_ajax_sociality-like-actionclasses\class-likes.php:48
authwp_ajax_sociality-like-actionclasses\class-likes.php:49

Shortcodes 2

[sociality_author_bio] classes\class-author-bio.php:51
[sociality_sharing] classes\class-sharing.php:55
WordPress Hooks 21
actionsociality_author_bioclasses\class-author-bio.php:44
actionsociality-author-bioclasses\class-author-bio.php:45
filterthe_contentclasses\class-author-bio.php:48
actionshow_user_profileclasses\class-author-bio.php:54
actionedit_user_profileclasses\class-author-bio.php:55
actionpersonal_options_updateclasses\class-author-bio.php:58
actionedit_user_profile_updateclasses\class-author-bio.php:59
actionsociality_likesclasses\class-likes.php:44
actionsociality-likesclasses\class-likes.php:45
actionadmin_enqueue_scriptsclasses\class-settings-api.php:32
actionadmin_initclasses\class-settings.php:74
actionadmin_menuclasses\class-settings.php:75
actionwpclasses\class-sharing.php:44
actiontemplate_redirectclasses\class-sharing.php:45
actionsociality_sharingclasses\class-sharing.php:48
actionsociality-sharingclasses\class-sharing.php:49
filterthe_contentclasses\class-sharing.php:52
actioninitsociality.php:123
actionadmin_initsociality.php:124
actionwp_enqueue_scriptssociality.php:125
actionplugins_loadedsociality.php:275
Maintenance & Trust

Sociality Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 27, 2024
PHP min version7.2
Downloads39K

Community Trust

Rating0/100
Number of ratings0
Active installs1K
Developer Profile

Sociality Developer Profile

Danny van Kooten

90 plugins · 2.1M total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
522 days
View full developer profile
Detection Fingerprints

How We Detect Sociality

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/sociality/assets/sociality.min.css/wp-content/plugins/sociality/assets/sociality.min.js/wp-content/plugins/sociality/assets/sociality-share/sociality-share.min.js
Script Paths
/wp-content/plugins/sociality/assets/sociality.min.js/wp-content/plugins/sociality/assets/sociality-share/sociality-share.min.js
Version Parameters
sociality/assets/sociality.min.css?ver=1.3.5sociality/assets/sociality.min.js?ver=1.3.5sociality/assets/sociality-share/sociality-share.min.js?ver=1.3.5

HTML / DOM Fingerprints

JS Globals
socialityData
FAQ

Frequently Asked Questions about Sociality