{"id":"CVE-2021-42367","aliases":["EUVD-2021-29338","GHSA-6ffh-2qg3-m72q"],"status":"published","title":"Variation Swatches for WooCommerce \u003c= 2.1.1 Authenticated Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00549,"percentile":0.46298,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79","CWE-862"],"published":"2021-12-14T15:50:10Z","modified":"2026-06-17T04:09:42Z","products":[{"vendor":"variation swatches for woocommerce","product":"variation swatches for woocommerce"},{"vendor":"variation_swatches_for_woocommerce_project","product":"variation_swatches_for_woocommerce"}],"references":[{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42367","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=2634227%40variation-swatches-for-woocommerce\u0026new=2634227%40variation-swatches-for-woocommerce\u0026sfp_email=\u0026sfph_mail=","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42367"},{"url":"https://github.com/advisories/GHSA-6ffh-2qg3-m72q"}],"sources":{"cve":[{"id":"CVE-2021-42367","title":"Variation Swatches for WooCommerce \u003c= 2.1.1 Authenticated Stored Cross-Site Scripting","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.","status":"published","published":"2021-12-14T15:50:10.177Z","modified":"2025-02-13T20:47:20.144Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79","CWE-862"],"updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29338","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.","status":"published","published":"2021-12-14T15:50:10Z","modified":"2025-02-13T20:47:20Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:53:30.772675Z"}],"ghsa":[{"id":"GHSA-6ffh-2qg3-m72q","title":"The Variation Swatches for WooCommerce WordPress plugin is vulnerable to Stored Cross-Site...","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.","status":"published","published":"2021-12-15T00:00:43Z","modified":"2023-01-28T05:02:45Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:43:50.187003Z"}],"nvd":[{"id":"CVE-2021-42367","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.","status":"published","published":"2021-12-14T16:15:09.527Z","modified":"2026-06-17T04:09:42.207Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79","CWE-862"],"updated_at":"2026-11-02T14:07:02.189991Z"}]}}
