Junglewise Threat Intelligence

CVE-2026-81282: Product Variations Swatches for WooCommerce cross-site scripting

CVE-2026-81282 · Severity: medium · CVSS 6.5 · Published 2026-09-03

Vendors: VillaTheme.

Executive brief

Product Variations Swatches for WooCommerce is a WordPress plugin that enables customizable product variations with visual swatches on e-commerce sites. The plugin contains a stored XSS vulnerability that allows authenticated attackers with subscriber-level permissions to inject malicious scripts into pages, potentially stealing customer data or hijacking visitor accounts. An attacker would need to trick a site administrator into interacting with a malicious link or form to exploit this flaw.

Technical details

The vulnerability is a stored cross-site scripting (XSS) flaw classified as CWE A3: Injection in OWASP terms. It affects Product Variations Swatches for WooCommerce versions 1.1.18 and earlier, where user-controllable input is not properly sanitized or escaped before being rendered in the product variations interface. The attack requires a user with subscriber-level privilege to craft and submit malicious input, but successful exploitation also requires a privileged user (such as an administrator) to interact with the compromised content. Once executed, the injected script runs in the context of the victim's browser session, potentially allowing session hijacking, credential theft, or customer data exfiltration. The vulnerability has been patched in version 1.1.19 and later.

Affected products

  • VillaTheme Product Variations Swatches for WooCommerce 1.1.18 and earlier

Timeline

  • 2026-09-03: disclosed
  • 2026-09-02: patched: Fix released in version 1.1.19

References