Security readout for executives and security teams
Plain-English summary
This affects the Variation Swatches for WooCommerce WordPress plugin up to and including 2.1.1. A logged-in low-privilege user, such as a subscriber, could save malicious script into plugin settings. That script may later run in another user's browser, creating confidentiality and integrity risk for affected WordPress stores.
Executive priority
Treat as a moderate-priority WordPress store hardening issue. Prioritize internet-facing WooCommerce sites with customer accounts, open registration, or many low-privilege users, because those conditions make the authentication requirement less protective.
Technical view
The issue combines stored cross-site scripting with missing authorization in tawcvs_save_settings within includes/class-menu-page.php. Authenticated low-privilege users can inject script through several settings parameters. CVSS is 6.4 with network access, low complexity, low privileges, no user interaction, changed scope, and low confidentiality and integrity impact.
Likely exposure
Exposure is limited to WordPress sites running Variation Swatches for WooCommerce versions up to and including 2.1.1, especially where untrusted users can authenticate as subscribers or similar roles.
Exploitation context
The source bundle does not show CISA KEV listing or cited active exploitation. The vulnerability is still practical because it requires only low-level authentication and stores script for later execution.
Researcher notes
Evidence identifies CWE-79 and CWE-862. The vulnerable function is tawcvs_save_settings, with affected code referenced in includes/class-menu-page.php. Sources identify versions through 2.1.1 but do not provide active exploitation evidence in the supplied bundle.
Mitigation direction
- Inventory WordPress sites using Variation Swatches for WooCommerce.
- Check vendor or WordPress plugin guidance for a fixed release beyond 2.1.1.
- Update the plugin if an official fixed version is available.
- Disable the plugin if it cannot be updated safely.
- Limit low-privilege account creation on affected stores.
- Review plugin settings for unexpected script-like content.
Validation and detection
- Confirm whether the plugin is installed on each WordPress site.
- Verify installed plugin versions are above 2.1.1 where vendor guidance confirms a fix.
- Review WordPress users with subscriber-level or higher access.
- Check relevant plugin settings for suspicious stored markup or script.
- Confirm compensating controls do not depend on unauthenticated-only filtering.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-862: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-42367 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N3.12.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42367CVE reference · x_refsource_MISC
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2634227%40variation-swatches-for-woocommerce&new=2634227%40variation-swatches-for-woocommerce&sfp_email=&sfph_mail=CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Missing Authorization
Missing Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
