BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-42367

MEDIUM 5.4 CVSS 3.1
Published
December 14, 2021
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79, CWE-862
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Description

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.

Affected WordPress components

  • Variation Swatches for WooCommerce Plugin · aco-variation-swatches-for-woocommerce
    Possible match Abandoned
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org
  • Variation Swatches for WooCommerce Plugin · product-variation-swatches-for-woocommerce
    Possible match Active
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org
  • Variation Swatches for WooCommerce Plugin · th-variation-swatches
    Possible match Active
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org
  • Variation Swatches for WooCommerce Plugin · variation-swatches-for-woocommerce
    Possible match Active
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org
  • Variation Swatches for WooCommerce Plugin · woo-product-variation-swatches
    Possible match Active
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org
  • Variation Swatches for WooCommerce Plugin · woo-variation-swatches
    Possible match Active
    From 2.1.1 (including) to 2.1.1 (including)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Variation Swatches for WooCommerce Variation Swatches for WooCommerce — From 2.1.1 (including) to 2.1.1 (including)
  • variation_swatches_for_woocommerce_project variation_swatches_for_woocommerce — Up to and including 2.1.1

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2634227%40variation-swatches-for-woocommerce&new=2634227%40variation-swatches-for-woocommerce&sfp_email=&sfph_mail= Patch, Third Party Advisory
  • www.wordfence.com https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42367 Third Party Advisory
  • nvd.nist.gov Official NVD record