Skip to content
Laskyr

Plugins · variation-swatches-for-woocommerce · data as of 2026-11-29

Is Variation Swatches for WooCommerce safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (2.2.10)

As of 2026-11-29. 1 issue is on record for older versions; version 2.1.2 or newer fixes all of them that state a fix.

Latest version
2.2.10
Last updated
2026-11-27
Active installs
40,000+
Known issues on record
1
Unpatched in latest
0
Tested up to WP
7.2

Turn WooCommerce variation dropdowns into color, image, label and radio button swatches. The original Variation Swatches for WooCommerce. — by Woosuite

What to do

  1. Update to the latest version (2.2.10). Anything older than 2.1.2 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get variation-swatches-for-woocommerce --field=version shows what you run; wp plugin update variation-swatches-for-woocommerce updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

1 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

medium 5.4 CVE-2021-42367 · published 2021-12-14

Stored cross-site scripting (XSS) in Variation Swatches for WooCommerce (2.1.1 to 2.1.1)

Affected
2.1.1 to 2.1.1
Fixed in
2.1.2 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

The Variation Swatches for WooCommerce WordPress plugin is vulnerable to Stored Cross-Site Scripting via several parameters found in the ~/includes/class-menu-page.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 2.1.1. Due to missing authorization checks on the tawcvs_save_settings function, low-level authenticated users such as subscribers can exploit this vulnerability.

NVD CVE-2021-42367Code change (fix)Wordfence advisory

Recent activity

Browse vulnerabilities

Questions about Variation Swatches for WooCommerce

Is Variation Swatches for WooCommerce safe to use?

No known unpatched vulnerabilities in the latest version (2.2.10). As of 2026-11-29. 1 issue is on record for older versions; version 2.1.2 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Variation Swatches for WooCommerce on the latest version (2.2.10) and remove it if you do not use it.

Which versions of Variation Swatches for WooCommerce are vulnerable?

Known issues on record (newest first): Stored cross-site scripting (XSS) (2.1.1 to 2.1.1, fixed in 2.1.2). The full list with sources is on this page.

What is the latest version of Variation Swatches for WooCommerce?

2.2.10, according to wordpress.org (last updated 2026-11-27). It has 40,000+ active installs.

What should I do if my Variation Swatches for WooCommerce is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update variation-swatches-for-woocommerce). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Variation Swatches for WooCommerce vulnerability status badge
<a href="https://laskyr.com/plugins/variation-swatches-for-woocommerce"><img src="https://laskyr.com/plugins/variation-swatches-for-woocommerce/badge.svg" alt="Variation Swatches for WooCommerce vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.