Variation Swatches and Gallery for WooCommerce Security & Risk Analysis

wordpress.org/plugins/variation-swatches-and-gallery

The only free WooCommerce variation swatches plugin with a built-in Variation Image Gallery AND Stock Count by Variation. Replace boring dropdowns wit …

20 active installs v1.0.6 PHP 7.4+ WP 6.4+ Updated Feb 25, 2026
color-swatchesproduct-attributesvariation-swatchesvariation-gallerywoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Variation Swatches and Gallery for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 1mo ago
Risk Assessment

The "variation-swatches-and-gallery" plugin v1.0.6 demonstrates a generally strong security posture with several positive indicators. The absence of any known CVEs and the consistent use of prepared statements for SQL queries are significant strengths. Furthermore, the high percentage of properly escaped output and the limited number of file operations suggest careful coding practices.

However, a critical concern arises from the presence of one AJAX handler that lacks authentication checks. This creates a direct entry point for unauthenticated attackers to potentially interact with the plugin's functionality, which could lead to unintended consequences or be a stepping stone for further exploitation. The lack of taint analysis data is also a neutral factor, as it doesn't provide insight into potential data manipulation vulnerabilities.

Overall, while the plugin exhibits good security hygiene in many areas, the unprotected AJAX handler represents a clear and present risk that needs immediate attention. The absence of past vulnerabilities is encouraging, but it does not negate the current risk posed by the identified entry point. Addressing the unauthenticated AJAX handler should be the priority to significantly improve the plugin's security.

Key Concerns

  • Unprotected AJAX handler
Vulnerabilities
None known

Variation Swatches and Gallery for WooCommerce Security Vulnerabilities

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

Variation Swatches and Gallery for WooCommerce Code Analysis

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

Bundled Libraries

Freemius1.0

Output Escaping

89% escaped124 total outputs
Attack Surface
1 unprotected

Variation Swatches and Gallery for WooCommerce Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_vsg_dismiss_help_noticeincludes\class-variation-swatches-and-gallery.php:180
WordPress Hooks 29
actionplugins_loadedincludes\class-variation-swatches-and-gallery.php:140
actionadmin_noticesincludes\class-variation-swatches-and-gallery.php:152
actionadmin_noticesincludes\class-variation-swatches-and-gallery.php:153
actionadmin_noticesincludes\class-variation-swatches-and-gallery.php:154
actionwp_dashboard_setupincludes\class-variation-swatches-and-gallery.php:166
actionadmin_noticesincludes\class-variation-swatches-and-gallery.php:179
actionadmin_enqueue_scriptsincludes\class-variation-swatches-and-gallery.php:194
actionadmin_enqueue_scriptsincludes\class-variation-swatches-and-gallery.php:195
actionadmin_menuincludes\class-variation-swatches-and-gallery.php:196
actionadmin_initincludes\class-variation-swatches-and-gallery.php:197
filterproduct_attributes_type_selectorincludes\class-variation-swatches-and-gallery.php:198
actionadmin_initincludes\class-variation-swatches-and-gallery.php:199
actionwoocommerce_product_option_termsincludes\class-variation-swatches-and-gallery.php:201
filterzqe_manage_edit_taxonomy_columnsincludes\class-variation-swatches-and-gallery.php:202
filterzqe_manage_taxonomy_custom_columnincludes\class-variation-swatches-and-gallery.php:203
actionwoocommerce_after_edit_attribute_fieldsincludes\class-variation-swatches-and-gallery.php:204
actionwoocommerce_product_after_variable_attributesincludes\class-variation-swatches-and-gallery.php:205
actionadmin_footerincludes\class-variation-swatches-and-gallery.php:206
actionwoocommerce_save_product_variationincludes\class-variation-swatches-and-gallery.php:207
actionwp_enqueue_scriptsincludes\class-variation-swatches-and-gallery.php:221
actionwp_enqueue_scriptsincludes\class-variation-swatches-and-gallery.php:222
actionbody_classincludes\class-variation-swatches-and-gallery.php:223
filterwoocommerce_dropdown_variation_attribute_options_htmlincludes\class-variation-swatches-and-gallery.php:224
filterwoocommerce_variation_is_activeincludes\class-variation-swatches-and-gallery.php:225
filterwoocommerce_available_variationincludes\class-variation-swatches-and-gallery.php:226
filterwoocommerce_ajax_variation_thresholdincludes\class-variation-swatches-and-gallery.php:227
filterwoocommerce_product_get_gallery_image_idsincludes\class-variation-swatches-and-gallery.php:228
actionplugins_loadedvariation-swatches-and-gallery.php:125
actionadd_meta_boxesvariation-swatches-and-gallery.php:128
Maintenance & Trust

Variation Swatches and Gallery for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedFeb 25, 2026
PHP min version7.4
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs20
Developer Profile

Variation Swatches and Gallery for WooCommerce Developer Profile

akdevs

2 plugins · 620 total installs

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

How We Detect Variation Swatches and Gallery for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/variation-swatches-and-gallery/admin/css/admin.css/wp-content/plugins/variation-swatches-and-gallery/admin/js/admin.js/wp-content/plugins/variation-swatches-and-gallery/assets/css/frontend.css/wp-content/plugins/variation-swatches-and-gallery/assets/js/frontend.js
Version Parameters
variation-swatches-and-gallery/admin/css/admin.css?ver=variation-swatches-and-gallery/admin/js/admin.js?ver=variation-swatches-and-gallery/assets/css/frontend.css?ver=variation-swatches-and-gallery/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
vsg-frontend-wrappervsg-swatch-variable-wrappervsg-swatch-term-wrappervsg-swatch-add-to-cartvsg-gallery-wrappervsg-gallery-single-thumbnailvsg-gallery-main-imagevsg-gallery-thumbnails
HTML Comments
<!-- Admin Product Meta Data --><!-- Variation Swatches and Gallery for WooCommerce --><!-- Freemius SDK initialization -->
Data Attributes
data-product-iddata-product-variant-iddata-attribute-iddata-term-iddata-swatch-type
JS Globals
vsg_frontend_paramsvsg_ajax_object
Shortcode Output
<div class="vsg-frontend-wrapper"><div class="vsg-gallery-wrapper">
FAQ

Frequently Asked Questions about Variation Swatches and Gallery for WooCommerce