weGallery Security & Risk Analysis

wordpress.org/plugins/we-gallery

The missing gallery of WordPress. Simple, yet the effective gallery plugin!

50 active installs v1.1 PHP + WP 3.8+ Updated Mar 14, 2020
galleriesgalleryimageimagesmedia
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is weGallery Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "we-gallery" v1.1 plugin exhibits a generally good security posture based on the provided static analysis. The absence of known CVEs and the lack of critical or high-severity taint flows are positive indicators. Furthermore, the plugin demonstrates adherence to several security best practices, including the use of prepared statements for all SQL queries, the presence of nonce checks, and capability checks on entry points. This suggests a developer who is mindful of common WordPress security pitfalls.

However, there are areas for improvement. The most notable concern is the relatively low percentage of properly escaped output (33%). This could potentially lead to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is not adequately sanitized before being displayed. While the static analysis didn't identify any specific XSS flaws through taint analysis (due to zero flows analyzed), the low escaping rate remains a significant risk factor. The presence of AJAX handlers and shortcodes, while not identified as unprotected in this analysis, represent potential attack vectors that require careful auditing, especially given the output escaping issue.

In conclusion, "we-gallery" v1.1 has a strong foundation with no known vulnerabilities and good practices in place for SQL and authentication. The primary weakness lies in output escaping, which necessitates further investigation and remediation. If the output escaping issue is addressed, the plugin's security would be significantly enhanced.

Key Concerns

  • Low output escaping percentage
Vulnerabilities
None known

weGallery Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

weGallery Release Timeline

No version history available.
Code Analysis
Analyzed Mar 16, 2026

weGallery Code Analysis

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

Output Escaping

33% escaped39 total outputs
Attack Surface

weGallery Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 1

authwp_ajax_wegal_save_image_detailsincludes\class-admin-editor.php:26

Shortcodes 1

[wegallery] gallery.php:81
WordPress Hooks 14
actioninitgallery.php:69
actioninitgallery.php:70
actionwp_enqueue_scriptsgallery.php:75
actionwp_footergallery.php:76
actionafter_setup_themegallery.php:78
actionadmin_enqueue_scriptsincludes\class-admin-editor.php:12
actionadd_meta_boxes_we_galleryincludes\class-admin-editor.php:13
actionsave_postincludes\class-admin-editor.php:14
actionmedia_buttonsincludes\class-admin-editor.php:16
actionadmin_footerincludes\class-admin-editor.php:17
filtermanage_edit-we_gallery_columnsincludes\class-admin-editor.php:20
actionmanage_we_gallery_posts_custom_columnincludes\class-admin-editor.php:21
filterpost_updated_messagesincludes\class-admin-editor.php:23
filterwp_prepare_attachment_for_jsincludes\class-admin-editor.php:24
Maintenance & Trust

weGallery Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedMar 14, 2020
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings5
Active installs50
Developer Profile

weGallery Developer Profile

Tareq Hasan

10 plugins · 420 total installs

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

How We Detect weGallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/we-gallery/assets/css/style.css/wp-content/plugins/we-gallery/assets/js/jquery.flexslider.min.js/wp-content/plugins/we-gallery/assets/js/jquery.magnific-popup.min.js
Script Paths
/wp-content/plugins/we-gallery/assets/js/jquery.flexslider.min.js/wp-content/plugins/we-gallery/assets/js/jquery.magnific-popup.min.js
Version Parameters
we-gallery/assets/css/style.css?ver=we-gallery/assets/js/jquery.flexslider.min.js?ver=we-gallery/assets/js/jquery.magnific-popup.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
wegal-gallery
Data Attributes
data-mfp-src
JS Globals
wegal_admin_editor
Shortcode Output
[wegallery]
FAQ

Frequently Asked Questions about weGallery