Variation Swatches for WooCommerce – Color, Image & Size Swatches Security & Risk Analysis

wordpress.org/plugins/variation-swatches-woo

Variation Swatches for WooCommerce replaces dropdowns with color, image & size swatches, helping shoppers decide faster and buy with confidence.

200K active installs v1.0.13 PHP 5.6+ WP 5.4+ Updated Mar 10, 2026
variation-swatchesvariation-swatches-for-woocommercewoocommerce-attribute-swatcheswoocommerce-color-swatcheswoocommerce-variation-swatches
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Variation Swatches for WooCommerce – Color, Image & Size Swatches Safe to Use in 2026?

Generally Safe

Score 100/100

Variation Swatches for WooCommerce – Color, Image & Size Swatches has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 24d ago
Risk Assessment

The "variation-swatches-woo" plugin version 1.0.13 exhibits a generally strong security posture based on the provided static analysis. It demonstrates excellent adherence to secure coding practices, with all SQL queries utilizing prepared statements and all output being properly escaped. The plugin also incorporates robust authentication and authorization checks, with a significant number of nonce and capability checks present across its entry points. The absence of known CVEs and past vulnerabilities further reinforces this positive assessment.

However, the taint analysis reveals a significant area of concern. A high number of flows (7 out of 8) were identified with unsanitized paths. While no critical or high severity taint flows were explicitly flagged, this high number of unsanitized paths warrants careful investigation. This suggests a potential for attackers to manipulate data that is processed without proper sanitization, which could lead to unexpected behavior or even security vulnerabilities, especially if these paths are ever exposed to user-controlled input. The attack surface is limited and protected, but the unsanitized paths present a hidden risk that should be addressed to further strengthen the plugin's security.

In conclusion, "variation-swatches-woo" v1.0.13 is commendably built with secure coding principles, particularly concerning data handling and input validation for SQL and output. The lack of historical vulnerabilities is a significant strength. The primary weakness lies in the taint analysis, where a high prevalence of unsanitized paths, despite not yet manifesting as critical or high severity issues, represents a potential attack vector that needs proactive remediation. This indicates a need for developers to review and sanitize these specific data flows to ensure comprehensive security.

Key Concerns

  • Flows with unsanitized paths
Vulnerabilities
None known

Variation Swatches for WooCommerce – Color, Image & Size Swatches Security Vulnerabilities

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

Variation Swatches for WooCommerce – Color, Image & Size Swatches Code Analysis

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

SQL Query Safety

100% prepared4 total queries

Output Escaping

100% escaped213 total outputs
Data Flows
7 unsanitized

Data Flow Analysis

8 flows7 with unsanitized paths
save_product_attribute_shape (admin\attributes-config.php:294)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Variation Swatches for WooCommerce – Color, Image & Size Swatches Attack Surface

Entry Points6
Unprotected0

AJAX Handlers 6

authwp_ajax_cfvsw_save_product_swatches_dataadmin\product-config.php:52
authwp_ajax_cfvsw_update_product_swatches_dataadmin\product-config.php:53
authwp_ajax_cfvsw_reset_product_swatches_dataadmin\product-config.php:54
authwp_ajax_cfvsw_update_settingsadmin-core\admin-menu.php:49
authwp_ajax_cfvsw_ajax_add_to_cartinc\swatches.php:87
noprivwp_ajax_cfvsw_ajax_add_to_cartinc\swatches.php:88
WordPress Hooks 29
filterproduct_attributes_type_selectoradmin\attributes-config.php:47
actionadmin_enqueue_scriptsadmin\attributes-config.php:55
actionwoocommerce_after_add_attribute_fieldsadmin\attributes-config.php:56
actionwoocommerce_after_edit_attribute_fieldsadmin\attributes-config.php:57
actionwoocommerce_attribute_addedadmin\attributes-config.php:58
actionwoocommerce_attribute_updatedadmin\attributes-config.php:59
filterwoocommerce_product_data_tabsadmin\product-config.php:49
actionwoocommerce_product_data_panelsadmin\product-config.php:50
actionadmin_enqueue_scriptsadmin\product-config.php:51
actionadmin_enqueue_scriptsadmin\term-meta-config.php:53
actionadmin_menuadmin-core\admin-menu.php:47
actionadmin_enqueue_scriptsadmin-core\admin-menu.php:48
actionadmin_headadmin-core\admin-menu.php:50
actionbefore_woocommerce_initadmin-core\admin-menu.php:52
filtercfvsw_swatches_shop_page_positioncompatibility\astra.php:27
filterastra_get_option_shop-hover-stylecompatibility\astra.php:28
filtercfvsw_requires_global_settingscompatibility\astra.php:29
filtercfvsw_requires_global_settingscompatibility\cartflows-pro.php:24
filterwoocommerce_ajax_variation_thresholdinc\swatches.php:72
actiontemplate_redirectinc\swatches.php:74
filterwoocommerce_dropdown_variation_attribute_options_htmlinc\swatches.php:78
actionwp_enqueue_scriptsinc\swatches.php:79
filterbody_classinc\swatches.php:83
filterwoocommerce_loop_add_to_cart_argsinc\swatches.php:84
filterwoocommerce_layered_nav_term_htmlinc\swatches.php:89
filtercfvsw_requires_shop_settingsinc\swatches.php:109
filtercfvsw_requires_global_settingsinc\swatches.php:111
actionplugins_loadedplugin-loader.php:81
actionadmin_noticesplugin-loader.php:93
Maintenance & Trust

Variation Swatches for WooCommerce – Color, Image & Size Swatches Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMar 10, 2026
PHP min version5.6
Downloads2.8M

Community Trust

Rating92/100
Number of ratings45
Active installs200K
Developer Profile

Variation Swatches for WooCommerce – Color, Image & Size Swatches Developer Profile

Brainstorm Force

32 plugins · 8.6M total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
196 days
View full developer profile
Detection Fingerprints

How We Detect Variation Swatches for WooCommerce – Color, Image & Size Swatches

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-woo/admin/css/attributes-config.css/wp-content/plugins/variation-swatches-woo/admin/js/attributes-config.js/wp-content/plugins/variation-swatches-woo/assets/css/frontend.css/wp-content/plugins/variation-swatches-woo/assets/js/frontend.js/wp-content/plugins/variation-swatches-woo/assets/js/frontend-script.js/wp-content/plugins/variation-swatches-woo/assets/css/variation-swatches-woo.css/wp-content/plugins/variation-swatches-woo/assets/js/variation-swatches-woo.js
Script Paths
/wp-content/plugins/variation-swatches-woo/admin/js/attributes-config.js/wp-content/plugins/variation-swatches-woo/assets/js/frontend.js/wp-content/plugins/variation-swatches-woo/assets/js/frontend-script.js/wp-content/plugins/variation-swatches-woo/assets/js/variation-swatches-woo.js
Version Parameters
variation-swatches-woo/admin/css/attributes-config.css?ver=variation-swatches-woo/admin/js/attributes-config.js?ver=variation-swatches-woo/assets/css/frontend.css?ver=variation-swatches-woo/assets/js/frontend.js?ver=variation-swatches-woo/assets/js/frontend-script.js?ver=variation-swatches-woo/assets/css/variation-swatches-woo.css?ver=variation-swatches-woo/assets/js/variation-swatches-woo.js?ver=

HTML / DOM Fingerprints

CSS Classes
cfvsw-previewcfvsw-product-attribute-shapecfvsw-product-attribute-size
Data Attributes
cfvsw_product_attribute_shapecfvsw_product_attribute_sizecfvsw_product_attribute_heightcfvsw_product_attribute_width
JS Globals
cfvsw_global_options
FAQ

Frequently Asked Questions about Variation Swatches for WooCommerce – Color, Image & Size Swatches