Skip to main content

Swatchly CVE-2026-133368

| EUVDEUVD-2026-141363 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 Wordfence GHSA-29c4-2ppg-ch8q
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit initial benign comment for approval
  2. Delivery
    Post crafted comment with script in 'comment' field
  3. Exploit
    Comment auto-approved via comment_previously_approved
  4. Execution
    Payload stored and rendered through Elementor-gated filter
  5. Impact
    Script executes in visitor's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete conditions must hold: (1) Swatchly ≤1.4.18 is installed; (2) the Elementor plugin is co-installed, because the vulnerable output filter is gated on Elementor's presence (per the Compatibility/Elementor.php reference); and (3) the attacker must first have one comment approved under a given name/email so WordPress's default comment_previously_approved setting auto-approves their subsequent comment carrying the payload. Limiting factors: exploitation is impossible without Elementor present, and requires the initial-comment-approval foothold, so sites that moderate every comment or lack Elementor are not exposed; the payload only executes when a user subsequently views the injected page. Per the CVSS vector (PR:N) the act of submitting comments is treated as unauthenticated, but the prior-approval requirement materially constrains real-world abuse.

Impact

This is a stored XSS (CWE-79) scored CVSS 7.2 with vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, where the elevated score is driven largely by the scope change (S:C) typical of stored XSS crossing into other users' browser contexts. However, the raw vector understates the real-world preconditions: the description explicitly requires Elementor to be co-installed (the vulnerable filter is gated on Elementor's presence) AND the attacker to have had one prior comment approved so WordPress's default comment_previously_approved auto-approves follow-up comments - these gating conditions are not reflected in the AC:L/PR:N metrics, which is a meaningful mismatch between the published vector and the stated mechanism. On exploitation signals: no CISA KEV listing is present, no EPSS score is supplied, and no working exploit code or PoC reference is provided (the references are the Wordfence advisory and plugin source-code/trac links, not exploit artifacts) - so this is best treated as a real but not emergency priority. The vuln.today decision label is 'this_week', consistent with a patchable plugin XSS that warrants prompt remediation rather than immediate crisis response. Net: a genuine stored-XSS issue worth patching this week, but the attacker-controlled-comment-approval and mandatory-Elementor prerequisites make widespread opportunistic exploitation less likely than the 7.2/PR:N/AC:L figures alone would imply.

Exploit ScenarioDerived

On a WordPress site running Swatchly ≤1.4.18 with Elementor also installed, an attacker first submits a benign comment under a chosen name/email and waits for it to be approved once. They then post a second comment containing a malicious script in the 'comment' field, which WordPress auto-approves under the default comment_previously_approved setting; the stored payload later executes in the browser of any user who views the affected page. No public exploit code or PoC is identified in the provided sources.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored cross-site scripting in Swatchly - Product Variation Swatches for WooCommerce through 1.4.18 allows unauthenticated attackers (per the PR:N vector) to inject script through the 'comment' parameter that executes when a user later views the injected page. Affected WordPress sites must also have Elementor co-installed, because the vulnerable output filter is gated on Elementor's presence, and the attacker must first have one comment approved under the same name and email so WordPress's default comment_previously_approved behavior auto-approves the payload comment. The independent assessment treats this as a scope-changing stored XSS whose real-world path is constrained by those prerequisites; no CISA KEV entry or public exploit is identified in the supplied data, and sites without Elementor or with full comment moderation are not exposed.

RemediationAI

No vendor-released patched version is identified in the supplied data; the referenced changeset https://plugins.trac.wordpress.org/changeset/3832543/swatchly/trunk/includes/Compatibility/Elementor.php modifies trunk Elementor compatibility code, indicating an upstream fix is available but a tagged patched release is not independently confirmed. Until a fixed release is confirmed, remove or disable the Swatchly plugin on affected sites; if it must remain, remove or disable Elementor to eliminate the gated vulnerable filter path, accepting the loss of Elementor-based layouts, and enforce full comment moderation or disable comments so the prior-approval auto-approval prerequisite cannot be met, accepting changes to the site's comment workflow. Also audit existing approved comments for repeated name/email pairs that could have established the foothold, and monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e9ec6dc5-bef2-4b37-94f5-6c916dab0b0a?source=cve and the plugin Trac trunk for a patched release.

Affected VersionsENISA

Swatchly – Product Variation Swatches for WooCommerce 0 ≤1.4.18

Affected Packages

euvd swatchly_product_variation_swatches_for_woocommerce no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is CWE-79 (improper neutralization of input during web page generation) in a WordPress plugin from Hasthemes, identified by the wildcard CPE cpe:2.3:a:hasthemes:swatchly_-_product_variation_swatches_for_woocommerce:*:*:*:*:*:*:*:*. The 'comment' parameter is insufficiently sanitized on input and insufficiently escaped on output, producing stored script execution in pages viewed by other users. The supplied Trac references point to includes/Compatibility/Elementor.php, includes/Frontend/Woo_Config.php, and assets/js/add-to-cart-variation.js in the 1.4.18 tag; the independent assessment confirms the vulnerable filter is gated on Elementor being co-installed. The other prerequisite is WordPress comment behavior: one prior comment must be approved under a given name/email, after which the default comment_previously_approved setting auto-approves subsequent comments from that identity, allowing the stored payload to be submitted without individual moderation. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, with AC:H reflecting the Elementor and prior-approval constraints rather than a trivially reachable path.

Know when Woocommerce gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

AC:H because exploitation requires Elementor co-installed and a prior approved comment; PR:N as comment submission needs no account; S:C and C:L/I:L for stored XSS executing in victims' browser context.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A stored cross-site scripting flaw in the Swatchly WooCommerce plugin (through version 1.4.18) can let unauthenticated attackers plant malicious scripts on WordPress sites that also run Elementor, potentially compromising visitors and administrative sessions. Leadership should care because affected sites face session hijacking, credential theft, and reputational risk, though exposure is limited to the subset of sites meeting the plugin-plus-Elementor and comment-approval prerequisites.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce full comment moderation so no comment auto-approves, disable or remove Swatchly on sites that do not require it, and deploy WAF rules filtering script content in comment submissions; sites without Elementor or with complete comment moderation are not exposed.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
niche WooCommerce swatch plugin; exploitation further narrowed by required Elementor co-install
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-17058 HIGH POC
7.5 Nov 29

The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco

CVE-2025-13773 CRITICAL POC
9.8 Dec 24

Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack

CVE-2026-18143 CRITICAL POC
9.8 Sep 26

Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a

CVE-2021-24212 CRITICAL POC
9.8 Apr 05

The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo

CVE-2022-50972 CRITICAL POC
9.3 Jun 20

WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by

CVE-2026-112866 CRITICAL POC
9.3 Oct 24

Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers

CVE-2025-10162 HIGH POC
8.6 Oct 07

Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff

CVE-2026-116528 CRITICAL POC
9.1 Nov 14

Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern

CVE-2026-81649 CRITICAL POC
9.1 Oct 11

Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin

CVE-2026-123122 HIGH POC
8.8 Nov 14

Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM

CVE-2026-122001 HIGH POC
8.8 Nov 07

Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated

CVE-2020-35627 HIGH POC
8.8 Dec 28

Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy