YaySwatches – Variation Swatches for WooCommerce Security & Risk Analysis

wordpress.org/plugins/yayswatches

Your products deserve options that stand out. 🎨✨

900 active installs v2.0.2 PHP 5.4+ WP 4.7+ Updated Jan 5, 2026
swatchesvariation-swatcheswoocommerce-color-swatcheswoocommerce-swatcheswoocommerce-variation-swatches
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is YaySwatches – Variation Swatches for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 2mo ago
Risk Assessment

The yayswatches plugin version 2.0.2 exhibits a strong security posture based on the provided static analysis and vulnerability history. The plugin has no known vulnerabilities (CVEs) and demonstrates good coding practices, with all SQL queries using prepared statements and a high percentage of output being properly escaped. Crucially, all identified entry points, including the 5 AJAX handlers, have authentication checks, indicating an effort to prevent unauthorized access. Taint analysis found no critical or high severity issues, and there are no dangerous functions or file operations present. The absence of bundled libraries further simplifies security management.

While the plugin appears robust, the static analysis does not cover all potential security weaknesses. The fact that there are no taint flows analyzed and only 4 nonce checks across 5 AJAX handlers might indicate areas where deeper analysis could be beneficial, though the presence of capability checks (11) offers some mitigation. The historical lack of vulnerabilities is a positive sign, suggesting consistent security awareness from the developers. Overall, yayswatches v2.0.2 presents a low risk profile, with its strengths lying in robust input validation and authentication mechanisms. However, a thorough review of the specific implementation of the capability checks and a more comprehensive taint analysis would further solidify its security standing.

Key Concerns

  • Potential for missing nonce checks on AJAX handlers
  • High percentage of unescaped output
Vulnerabilities
None known

YaySwatches – Variation Swatches for WooCommerce Security Vulnerabilities

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

YaySwatches – Variation Swatches for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
16
140 escaped
Nonce Checks
4
Capability Checks
11
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

90% escaped156 total outputs
Attack Surface

YaySwatches – Variation Swatches for WooCommerce Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 5

authwp_ajax_get_available_variationincludes\Engine\Ajax.php:28
noprivwp_ajax_get_available_variationincludes\Engine\Ajax.php:29
authwp_ajax_yay_recommended_get_plugin_dataincludes\YayCommerceMenu\OtherPluginsMenu.php:27
authwp_ajax_yay_recommended_activate_pluginincludes\YayCommerceMenu\OtherPluginsMenu.php:28
authwp_ajax_yay_recommended_upgrade_pluginincludes\YayCommerceMenu\OtherPluginsMenu.php:29
WordPress Hooks 31
actionadmin_enqueue_scriptsincludes\Engine\BEPages\ProductSwatches.php:15
filterwoocommerce_product_data_tabsincludes\Engine\BEPages\ProductSwatches.php:17
filterwoocommerce_product_data_panelsincludes\Engine\BEPages\ProductSwatches.php:19
actionadmin_menuincludes\Engine\BEPages\Settings.php:19
filteradmin_body_classincludes\Engine\BEPages\Settings.php:20
actionadmin_enqueue_scriptsincludes\Engine\BEPages\Settings.php:23
filterplugin_row_metaincludes\Engine\BEPages\Settings.php:26
actionwp_loadedincludes\Engine\Compatibles\HelloElementorChild.php:13
filteryay_swatches_jquery_params_argsincludes\Engine\Compatibles\HelloElementorChild.php:20
actionyay_swatches_data_localizeincludes\Engine\Compatibles\WooCommerceProductBundles.php:19
actionwoocommerce_bundle_add_to_cartincludes\Engine\Compatibles\WooCommerceProductBundles.php:20
actionwp_enqueue_scriptsincludes\Engine\FEPages\WooCommerceSwatches.php:32
actionenqueue_block_editor_assetsincludes\Engine\FEPages\WooCommerceSwatches.php:33
filterwoocommerce_dropdown_variation_attribute_options_htmlincludes\Engine\FEPages\WooCommerceSwatches.php:36
actionbody_classincludes\Engine\FEPages\WooCommerceSwatches.php:39
actionyay_swatches_attribute_radio_typeincludes\Engine\Hooks.php:14
actionyay_swatches_attribute_button_typeincludes\Engine\Hooks.php:15
actionyay_swatches_attribute_custom_typeincludes\Engine\Hooks.php:16
actionyay_swatches_attribute_variant_image_typeincludes\Engine\Hooks.php:17
filterscript_loader_tagincludes\Engine\Register\RegisterFacade.php:17
actioninitincludes\Engine\Register\RegisterFacade.php:18
actioninitincludes\Engine\Register\RegisterProd.php:13
actionrest_api_initincludes\Engine\RestAPI.php:29
actionadmin_noticesincludes\Fallback.php:4
actionadmin_enqueue_scriptsincludes\YayCommerceMenu\RegisterMenu.php:56
actionadmin_menuincludes\YayCommerceMenu\RegisterMenu.php:57
actionadmin_menuincludes\YayCommerceMenu\RegisterMenu.php:58
actionadmin_inityay-swatches.php:29
actionadmin_noticesyay-swatches.php:90
actionbefore_woocommerce_inityay-swatches.php:93
actionplugins_loadedyay-swatches.php:105
Maintenance & Trust

YaySwatches – Variation Swatches for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 5, 2026
PHP min version5.4
Downloads16K

Community Trust

Rating100/100
Number of ratings9
Active installs900
Developer Profile

YaySwatches – Variation Swatches for WooCommerce Developer Profile

YayCommerce

16 plugins · 78K total installs

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

How We Detect YaySwatches – Variation Swatches 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/yayswatches/src/admin-style.css
Version Parameters
yayswatches/src/admin-style.css?ver=

HTML / DOM Fingerprints

CSS Classes
yay-swatches-settings-product-tab-options-wrapperyay_swatches_settings_tab
Data Attributes
data-yayswatches-select-color
FAQ

Frequently Asked Questions about YaySwatches – Variation Swatches for WooCommerce