CVE-2026-133368 — Hasthemes Swatchly – Product Variation Swatches For WooCommerce
HIGHCVE-2026-133368 is a high-severity (CVSS 7.2) Cross-site Scripting (XSS) vulnerability in hasthemes Swatchly – Product Variation Swatches for WooCommerce. Versions up to 1.4.18 are affected; the records list no fixed version yet, so check the vendor advisory below.
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,…
Description
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.
Affected Products
Swatchly – Product Variation Swatches for WooCommercehasthemesDetection & mitigation playbook
Vendor / applianceDetect
Inventory every hasthemes Swatchly – Product Variation Swatches for WooCommerce deployment and check each version against the affected-products list above.
Remediation status
The records we use list no fixed version for CVE-2026-133368 (versions up to 1.4.18 are affected). Check the hasthemes Swatchly – Product Variation Swatches for WooCommerce advisory for a patched release, and apply the workarounds below until you can upgrade.
Mitigate without a patch
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-133368 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.