Product Swatches Light Security & Risk Analysis

wordpress.org/plugins/product-swatches-light

Capture your customers by displaying your product variations beautifully.

0 active installs v2.1.0 PHP 8.2+ WP 6.0+ Updated Feb 4, 2026
product-swatchesvariant-swatchesvariation-swatcheswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Product Swatches Light Safe to Use in 2026?

Generally Safe

Score 100/100

Product Swatches Light 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 "product-swatches-light" plugin version 2.1.0 exhibits a strong security posture based on the provided static analysis and vulnerability history. The plugin demonstrates excellent adherence to security best practices, with all identified entry points (AJAX handlers, REST API routes) correctly implementing authorization checks. Furthermore, the code shows robust output escaping, with a near-perfect escape rate, and a significant percentage of SQL queries utilizing prepared statements, mitigating common injection risks. The absence of dangerous functions, file operations, and external HTTP requests further contributes to its secure design. The taint analysis revealed no unsanitized paths or critical/high severity flows, indicating that user-supplied data is handled safely. The plugin's history of zero known CVEs, with no past vulnerabilities recorded, strongly suggests a commitment to maintaining a secure codebase over time. The presence of nonce and capability checks is also a positive indicator of secure development practices. Overall, this plugin presents a very low-risk profile.

Vulnerabilities
None known

Product Swatches Light Security Vulnerabilities

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

Product Swatches Light Code Analysis

Dangerous Functions
0
Raw SQL Queries
1
2 prepared
Unescaped Output
3
507 escaped
Nonce Checks
8
Capability Checks
4
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

67% prepared3 total queries

Output Escaping

99% escaped510 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<WooCommerce> (app\Swatches\WooCommerce.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Product Swatches Light Attack Surface

Entry Points6
Unprotected0

AJAX Handlers 4

authwp_ajax_settings_import_fileapp\Dependencies\easySettingsForWordPress\Import.php:60
authwp_ajax_efw_dismiss_admin_noticeapp\Dependencies\easyTransientsForWordPress\Transients.php:124
authwp_ajax_lw_swatches_import_runapp\Plugin\Admin\Admin.php:72
authwp_ajax_lw_swatches_import_infoapp\Plugin\Admin\Admin.php:73

REST API Routes 2

GET/wp-json/product-swatches/v1/update/app\Swatches\Rest.php:68
GET/wp-json/product-swatches/v1/update/app\Swatches\Rest.php:81
WordPress Hooks 55
actionadmin_action_settings_exportapp\Dependencies\easySettingsForWordPress\Export.php:59
actionadmin_enqueue_scriptsapp\Dependencies\easySettingsForWordPress\Import.php:59
filterupload_mimesapp\Dependencies\easySettingsForWordPress\Import.php:197
actionadmin_menuapp\Dependencies\easySettingsForWordPress\Settings.php:186
actionadmin_initapp\Dependencies\easySettingsForWordPress\Settings.php:187
actionadmin_initapp\Dependencies\easySettingsForWordPress\Settings.php:188
actionrest_api_initapp\Dependencies\easySettingsForWordPress\Settings.php:189
actionadmin_enqueue_scriptsapp\Dependencies\easySettingsForWordPress\Settings.php:190
actioninitapp\Dependencies\easySettingsForWordPress\Settings.php:194
actioninitapp\Dependencies\easySettingsForWordPress\Settings.php:199
actionadmin_noticesapp\Dependencies\easyTransientsForWordPress\Transients.php:115
actionshutdownapp\Dependencies\easyTransientsForWordPress\Transients.php:118
actionadmin_enqueue_scriptsapp\Dependencies\easyTransientsForWordPress\Transients.php:121
actionadmin_initapp\Plugin\Admin\Admin.php:66
actionadmin_enqueue_scriptsapp\Plugin\Admin\Admin.php:67
actionadmin_enqueue_scriptsapp\Plugin\Admin\Admin.php:68
actioninitapp\Plugin\Admin\Admin.php:69
actioncli_initapp\Plugin\Init.php:78
filterproduct_swatches_light_change_attribute_type_nameapp\Plugin\Init.php:80
filterproduct_swatches_light_schedule_our_eventsapp\Plugin\Schedules.php:55
filterschedule_eventapp\Plugin\Schedules.php:74
actioninitapp\Plugin\Settings.php:54
actioninitapp\Plugin\Setup.php:66
actionadmin_menuapp\Plugin\Setup.php:101
actionesfw_set_completedapp\Plugin\Setup.php:104
actionesfw_processapp\Plugin\Setup.php:105
actionesfw_processapp\Plugin\Setup.php:106
actionwp_enqueue_scriptsapp\Plugin\Templates.php:55
actioncreated_termapp\Swatches\Attribute.php:61
actionedit_termapp\Swatches\Attribute.php:62
filterproduct_swatches_light_get_term_edit_fieldapp\Swatches\Attribute.php:65
filterproduct_swatches_light_secure_term_valueapp\Swatches\Attribute.php:66
actionrest_api_initapp\Swatches\Rest.php:58
filterwoocommerce_settings_tabs_arrayapp\Swatches\WcSettingsTab.php:24
actionwoocommerce_admin_field_generate_product_swatchesapp\Swatches\WcSettingsTab.php:27
filterproduct_attributes_type_selectorapp\Swatches\WooCommerce.php:67
actionwoocommerce_product_option_termsapp\Swatches\WooCommerce.php:68
actionwpapp\Swatches\WooCommerce.php:71
filterwoocommerce_blocks_product_grid_item_htmlapp\Swatches\WooCommerce.php:72
filterbulk_actions-edit-productapp\Swatches\WooCommerce.php:75
filterhandle_bulk_actions-edit-productapp\Swatches\WooCommerce.php:76
actionpost_submitbox_misc_actionsapp\Swatches\WooCommerce.php:79
actionadmin_action_product_swatches_regenerateapp\Swatches\WooCommerce.php:80
actionwoocommerce_new_productapp\Swatches\WooCommerce.php:83
actionwoocommerce_update_productapp\Swatches\WooCommerce.php:84
actionwoocommerce_product_set_stockapp\Swatches\WooCommerce.php:85
actionwoocommerce_variation_set_stockapp\Swatches\WooCommerce.php:86
actionproduct_swatches_light_option_listapp\Swatches\WooCommerce.php:89
filterproduct_swatches_light_get_attribute_valuesapp\Swatches\WooCommerce.php:90
filterproduct_swatches_light_get_listapp\Swatches\WooCommerce.php:91
filterwoocommerce_loop_add_to_cart_linkapp\Swatches\WooCommerce.php:110
actionwoocommerce_after_shop_loop_item_titleapp\Swatches\WooCommerce.php:113
actionwoocommerce_after_shop_loop_item_titleapp\Swatches\WooCommerce.php:116
filterwoocommerce_loop_add_to_cart_linkapp\Swatches\WooCommerce.php:119
actionplugins_loadedproduct-swatches-light.php:45

Scheduled Events 1

woocommerce_flush_rewrite_rules
Maintenance & Trust

Product Swatches Light Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 4, 2026
PHP min version8.2
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Product Swatches Light Developer Profile

laolaweb

4 plugins · 310 total installs

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

How We Detect Product Swatches Light

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/product-swatches-light/product-swatches-light.php/wp-content/plugins/product-swatches-light/inc/constants.php/wp-content/plugins/product-swatches-light/vendor/autoload.php
Script Paths
/wp-content/plugins/product-swatches-light/app/Dependencies/easySettingsForWordPress/Files/import.js
Version Parameters
product-swatches-light/product-swatches-light.php?ver=product-swatches-light/inc/constants.php?ver=product-swatches-light/vendor/autoload.php?ver=product-swatches-light/app/Dependencies/easySettingsForWordPress/Files/import.js?ver=

HTML / DOM Fingerprints

CSS Classes
psl-swatch-attributepsl-attribute-wrapperpsl-swatch-preview-wrapperpsl-swatch-previewpsl-swatch-attribute-titlepsl-swatch-items-wrapperpsl-swatch-itempsl-swatch-item-link+29 more
HTML Comments
<!-- Plugin: Product Swatches Light --><!-- End Plugin: Product Swatches Light -->
Data Attributes
data-attribute-iddata-attribute-slugdata-swatch-typedata-swatch-colordata-swatch-imagedata-variation-id+11 more
JS Globals
ProductSwatchesLightFrontendproductSwatchesFrontendVars
REST Endpoints
/wp-json/product-swatches-light/v1/get-product-variations
FAQ

Frequently Asked Questions about Product Swatches Light