Stored cross-site scripting in Swatchly WooCommerce plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Swatchly plugin for WordPress by hasthemes is affected in all versions up to and including 1.4.18. Insufficient input sanitization and output escaping of the comment parameter enable stored cross-site scripting (CWE-79). An unauthenticated attacker can inject scripts into pages that run when a user opens the injected page, provided Elementor is co-installed and the attacker has one prior approved comment, since later comments from the same name and email are auto-approved.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| devitemsllc | Swatchly – Product Variation Swatches for WooCommerce | up to 1.4.18 | — | No fix listed | CNA |
- Swatchly – Product Variation Swatches for WooCommerce Vendordevitemsllc Affected up to 1.4.18 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Swatchly (Product Variation Swatches for WooCommerce).
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Timeline
- 2026-12-02 Threatist record created from CVE-2026-133368
- 2026-12-02 Alias added: GHSA-29c4-2ppg-ch8q
References
Other 7
- 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/includes/Frontend/Woo_Config.php#L847
- 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
More devitemsllc vulnerabilities
- TI-2023-00222 ShopLentor < 2.5.4 - PHP Object Injection CVSS 3.1CRITICAL 9.8
- TI-2023-00476 WP News <= 1.1.9 - Arbitrary Plugin Activation via CSRF CVSS 3.1MEDIUM 6.5
- TI-2023-00475 WP Insurance < 2.1.4 - Arbitrary Plugin Activation via CSRF CVSS 3.1MEDIUM 6.5
- TI-2023-00474 WP Film Studio < 1.3.5 - Arbitrary Plugin Activation via CSRF CVSS 3.1MEDIUM 6.5
- TI-2025-06692 Unrestricted file upload in devitemsllc HT Contact Form – Drag & Drop Form Builder for… CVSS 3.1CRITICAL 9.8
- TI-2023-00221 ShopLentor < 2.5.4 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-133368 · CVE Program
- CVE-2026-133368 · NVD
- GHSA-29c4-2ppg-ch8q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences