6.4medium
Variation Swatches for WooCommerce <= 2.1.1 Authenticated Stored Cross-Site Scripting
- Severity
- 6.4medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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
| Product or package | Versions | Reported by |
|---|---|---|
| Variation Swatches for WooCommerce Variation Swatches for WooCommerce | from 2.1.1 up to 2.1.1 | CVE List |
| variation_swatches_for_woocommerce_project variation_swatches_for_woocommerce | up to 2.1.1 | NVD |
All scores
| Wordfence | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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 (es)
El plugin Variation Swatches for WooCommerce de WordPress es vulnerable a un ataque de tipo Cross-Site Scripting Almacenado por medio de varios parámetros encontrados en el archivo ~/includes/class-menu-page.php que permite a atacantes inyectar scripts web arbitrarios, en versiones hasta la 2.1.1 incluyéndola. Debido a una falta de comprobaciones de autorización en la función tawcvs_save_settings, los usuarios autenticados de bajo nivel, como los suscriptores, pueden explotar esta vulnerabilidad
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42367 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2021-42367 changed 2026-06-17 | Public domain |