Gallery Sharing Security & Risk Analysis

wordpress.org/plugins/gallery-sharing

You can share your galleries between wordpress installations.

10 active installs v1.0 PHP + WP 4.0+ Updated Jul 13, 2016
gallerysharing
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Gallery Sharing Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The 'gallery-sharing' v1.0 plugin exhibits a mixed security posture. On the positive side, it demonstrates good practices by using prepared statements for all SQL queries and has no recorded vulnerability history, which suggests a commitment to security in previous versions. However, significant concerns arise from its attack surface and code signals. The presence of one unprotected AJAX handler is a notable risk, as it provides an entry point for attackers that can be exploited without authentication.

The static analysis reveals a critical weakness in its handling of untrusted data. While the taint analysis did not flag critical or high severity flows, it did identify four flows with unsanitized paths. This, combined with the fact that only 50% of output is properly escaped and there are no nonce checks or capability checks on any entry points, strongly suggests that user-supplied data is not being handled with sufficient care, potentially leading to cross-site scripting (XSS) or other injection vulnerabilities.

Despite the lack of historical CVEs, the current code analysis points to potential vulnerabilities. The unprotected AJAX handler and the unsanitized data flows are the most pressing issues. A balanced conclusion is that while the plugin benefits from a clean vulnerability history and secure database practices, its current implementation has exploitable weaknesses in its input validation and authentication mechanisms that require immediate attention.

Key Concerns

  • AJAX handler without auth checks
  • Unsanitized paths in taint analysis (4 flows)
  • Output escaping only 50% proper
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Gallery Sharing Security Vulnerabilities

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

Gallery Sharing Code Analysis

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

Bundled Libraries

TinyMCE

Output Escaping

50% escaped20 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
render_menu (admin\class-gallery-sharing-admin.php:46)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Gallery Sharing Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 1

authwp_ajax_ph_gallery_sharing_modalincludes\class-gallery-sharing.php:97

Shortcodes 1

[ph-gallery-sharing] includes\class-gallery-sharing.php:119
WordPress Hooks 7
actionadmin_menuincludes\class-gallery-sharing.php:87
filtermce_buttonsincludes\class-gallery-sharing.php:90
filtermce_external_pluginsincludes\class-gallery-sharing.php:91
actionadmin_print_footer_scriptsincludes\class-gallery-sharing.php:94
actioninitincludes\class-gallery-sharing.php:112
filterquery_varsincludes\class-gallery-sharing.php:113
actionparse_requestincludes\class-gallery-sharing.php:114
Maintenance & Trust

Gallery Sharing Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedJul 13, 2016
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Gallery Sharing Developer Profile

EdwardBock

22 plugins · 2K total installs

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

How We Detect Gallery Sharing

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gallery-sharing/admin/css/tinymce-plugin.css
Script Paths
/wp-content/plugins/gallery-sharing/admin/js/tinymce-plugin.js

HTML / DOM Fingerprints

JS Globals
QTagsgallery_sharing_button
Shortcode Output
[ph-gallery-sharing id="" source=""]
FAQ

Frequently Asked Questions about Gallery Sharing