CVE-2026-133368 — hasthemes Swatchly – Product Variation Swatches for WooCommerce
Summary
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.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| hasthemes Swatchly – Product Variation Swatches for WooCommerce | ≤ 1.4.18 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/assets/js/add-t…
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Compat…
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Fronte…
- plugins.trac.wordpress.org/browser/swatchly/trunk
- plugins.trac.wordpress.org/changeset/3832543/swatchly/trunk/includes/Co…
- wordfence.com/threat-intel/vulnerabilities/id/e9ec6dc5-bef2-4b37-94f5-6…
Affected
- hasthemes Swatchly – Product Variation Swatches for WooCommerce
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-133368?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-133368?
CVE-2026-133368 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-133368 being exploited?
Not as far as is known: CVE-2026-133368 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-133368?
hasthemes Swatchly – Product Variation Swatches for WooCommerce ≤ 1.4.18.
How do I fix CVE-2026-133368?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-109389 — xlplugins NextMove Lite – Thank You Page for WooCommerce
- CVE-2026-137042 — nalut EU Withdrawal Button for WooCommerce
- CVE-2026-133401 — bitpressadmin Bit integrations – Form Integration, Webhook, Spreadsheets, CRM, LMS & Email Automation
- CVE-2026-120118 — pmbaldha Email Tracker
- CVE-2026-124997 — frogerme WP Remote Users Sync