title: Variation Swatches for WooCommerce <= 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.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
product: Variation Swatches for WooCommerce
vendor: Variation Swatches for WooCommerce
versions:
lessThanOrEqual: 2.1.1, status: affected, version: 2.1.1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.4
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
version: 3.1
]
solutions: Update to version 2.1.2, or newer.