Swatchly – Product Variation Swatches for WooCommerce
Swatchly <= 1.4.18 - Unauthenticated Stored Cross-Site Scripting via Comment Content
CVE-2026-133368Published 2 Dec 2026, 11:30 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.2
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
The Swatchly – Product Variation Swatches for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.4.18 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires Elementor to be co-installed (the plugin gates the filter on its presence) and the attacker to have had one prior comment approved, after which WordPress's default comment_previously_approved setting causes subsequent comments from the same name and email to be auto-approved.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Swatchly – Product Variation Swatches for WooCommerceNiche | <= 1.4.18 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e9ec6dc5-bef2-4b37-94f5-6c916dab0b0a?source=cve
- https://plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Compatibility/Elementor.php#L15
- https://plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Frontend/Woo_Config.php#L114
- https://plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/assets/js/add-to-cart-variation.js#L300
- https://plugins.trac.wordpress.org/browser/swatchly/trunk
- https://plugins.trac.wordpress.org/changeset/3832543/swatchly/trunk/includes/Compatibility/Elementor.php
- CVE-2026-133368 on CVE.org