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

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

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.

Vendors: VillaTheme.

Quick answers

Is CVE-2026-81282 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-81282 being exploited in the wild.
How severe is CVE-2026-81282?
Medium severity, with a CVSS score of 6.5, published 3 September 2026.
Which products and versions are affected?
VillaTheme Product Variations Swatches for WooCommerce 1.1.18 and earlier.
Is there a fix for CVE-2026-81282?
A patch was published on 2026-09-02: Fix released in version 1.1.19 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-81282 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-81282?
Check whether you run VillaTheme Product Variations Swatches for WooCommerce at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.