Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit initial benign comment for approval
-
DeliveryPost crafted comment with script in 'comment' field
-
ExploitComment auto-approved via comment_previously_approved
-
ExecutionPayload stored and rendered through Elementor-gated filter
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Woocommerce
View allThe WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco
Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack
Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a
The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by
Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers
Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff
Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern
Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin
Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM
Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated
Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca
EUVD-2026-141363
GHSA-29c4-2ppg-ch8q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB