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

wordpress.org/plugins/color-or-image-variation-swatches-for-woocommerce

Provides new WooCommerce type attributes (color,label,image) for creating beautiful variations

600 active installs v1.2.1 PHP + WP 4.4+ Updated Sep 11, 2025
colorimageswatchesvariationwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

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

Generally Safe

Score 100/100

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

No known CVEs Updated 8mo ago
Risk Assessment

The plugin "color-or-image-variation-swatches-for-woocommerce" version 1.2.1 demonstrates a generally strong security posture based on the provided static analysis. The complete absence of SQL queries that are not prepared statements, coupled with a reasonable rate of output escaping (72%), indicates that developers have been mindful of common web vulnerabilities. Furthermore, the lack of any known historical vulnerabilities or CVEs is a positive sign, suggesting a stable and well-maintained codebase.

However, there are a couple of areas that warrant attention. The taint analysis revealed two flows with unsanitized paths, although they were not classified as critical or high severity. This suggests a potential for unintended data handling if these paths were to interact with user-supplied input in a more exposed context. The most significant concern, derived from the static analysis, is the complete lack of capability checks and nonce checks. While the attack surface appears to be zero in terms of entry points, the absence of these fundamental security mechanisms means that any potential future entry points or existing indirect ones would be entirely unprotected against unauthorized actions.

In conclusion, while the plugin benefits from a clean vulnerability history and good practices regarding SQL and output escaping, the lack of authorization and nonce checks is a notable weakness. The taint analysis also flags potential, albeit low-severity, concerns. The plugin is generally secure in its current state as presented, but the missing authorization controls present a significant latent risk if the attack surface were to expand or be manipulated indirectly.

Key Concerns

  • Taint flows with unsanitized paths
  • No capability checks
  • No nonce checks
  • Output escaping rate below optimal
Vulnerabilities
None known

Variation Swatches for WooCommerce – Color & Image Swatches Security Vulnerabilities

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

Variation Swatches for WooCommerce – Color & Image Swatches Release Timeline

v1.2.1Current
v1.2.0
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
Code Analysis
Analyzed Mar 16, 2026

Variation Swatches for WooCommerce – Color & Image Swatches Code Analysis

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

Bundled Libraries

Select2

Output Escaping

72% escaped36 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
add_attribute_values_on_tabs (classes\admin\class-alg-wc-civs-admin-types.php:58)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Variation Swatches for WooCommerce – Color & Image Swatches Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_initclasses\admin\class-alg-wc-civs-admin-types.php:26
filterproduct_attributes_type_selectorclasses\admin\class-alg-wc-civs-admin-types.php:29
actionwoocommerce_product_option_termsclasses\admin\class-alg-wc-civs-admin-types.php:34
actioncmb2_admin_initclasses\admin\class-alg-wc-civs-admin-types.php:37
filterwoocommerce_get_sections_alg_wc_civsclasses\admin\class-alg-wc-civs-settings-section.php:47
actioninitclasses\class-alg-wc-civs-core.php:62
actionbefore_woocommerce_initclasses\class-alg-wc-civs-core.php:76
filterwoocommerce_get_settings_pagesclasses\class-alg-wc-civs-core.php:133
actionwp_enqueue_scriptsclasses\class-alg-wc-civs-frontend.php:27
filterwoocommerce_dropdown_variation_attribute_options_htmlclasses\class-alg-wc-civs-frontend.php:28
actionplugins_loadedcolor-or-image-variation-swatches-for-woocommerce.php:98
Maintenance & Trust

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

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 11, 2025
PHP min version
Downloads27K

Community Trust

Rating80/100
Number of ratings9
Active installs600
Developer Profile

Variation Swatches for WooCommerce – Color & Image Swatches Developer Profile

WPFactory

64 plugins · 137K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
94 days
View full developer profile
Detection Fingerprints

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

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/color-or-image-variation-swatches-for-woocommerce/assets/css/frontend.css/wp-content/plugins/color-or-image-variation-swatches-for-woocommerce/assets/js/frontend.js
Script Paths
/wp-content/plugins/color-or-image-variation-swatches-for-woocommerce/assets/js/frontend.js
Version Parameters
color-or-image-variation-swatches-for-woocommerce/assets/css/frontend.css?ver=color-or-image-variation-swatches-for-woocommerce/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
alg-wc-civs-original-selectalg-wc-civs-attributealg-wc-civs-termalg-wc-civs-coloralg-wc-civs-labelalg-wc-civs-image
Data Attributes
data-attributedata-value
JS Globals
alg_wc_civs_frontend_params
FAQ

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