High severity7.2NVD Advisory· Published Dec 2, 2026· Updated Dec 2, 2026
CVE-2026-133368
CVE-2026-133368
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
1Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/assets/js/add-to-cart-variation.jsnvd
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Compatibility/Elementor.phpnvd
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Frontend/Woo_Config.phpnvd
- plugins.trac.wordpress.org/browser/swatchly/tags/1.4.18/includes/Frontend/Woo_Config.phpnvd
- plugins.trac.wordpress.org/browser/swatchly/trunknvd
- plugins.trac.wordpress.org/changeset/3832543/swatchly/trunk/includes/Compatibility/Elementor.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/e9ec6dc5-bef2-4b37-94f5-6c916dab0b0anvd
News mentions
0No linked articles in our index yet.