CVE-2021-42367

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.

Remediation

Solution:

  • Update to version 2.1.2, or newer.

Category

6.4
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.19%
Third-Party Advisory wordpress.org Third-Party Advisory wordfence.com
Affected: Variation Swatches for WooCommerce Variation Swatches for WooCommerce
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-42367?
CVE-2021-42367 has been scored as a medium severity vulnerability.
How to fix CVE-2021-42367?
To fix CVE-2021-42367: Update to version 2.1.2, or newer.
Is CVE-2021-42367 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-42367 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-42367?
CVE-2021-42367 affects Variation Swatches for WooCommerce Variation Swatches for WooCommerce.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.