XSS in Variation Swatches For Woocommerce
CVE-2021-42367
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (41.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@wordfence.com (Third Party Advisory, x_refsource_MISC)
- security@wordfence.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-42367?
- CVE-2021-42367 is a medium-severity vulnerability in Variation Swatches For Woocommerce, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2021-12-14.
- How severe is CVE-2021-42367?
- Medium severity. CVSS v3 base score is 6.4 out of 10.
- Is CVE-2021-42367 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.