Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor+ credentials
-
DeliveryCreate page with malicious shortcode
-
ExploitInject XSS via text attribute
-
InstallScript persists in database
-
C2Visitors load page
-
ExecuteJavaScript executes in browser
-
ImpactSteal cookies or create admin account
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 | Exploitation requires an authenticated WordPress user account with contributor-level capabilities or higher (Editor, Admin). The wpcsm_text_rotator shortcode must be used in page or post content; if the shortcode is never invoked or the plugin is deactivated, the vulnerability is not exploitable. The 'text' attribute parameter must be passed to the shortcode without proper escaping. Default WordPress installations with the plugin active are vulnerable if any contributor-or-above user account exists. Exploitation is limited to WordPress sites where this plugin is installed and activated; sites without the plugin are unaffected. |
| Impact | CVSS 6.4 (Medium) with network vector, low complexity, and low privileges required (PR:L indicates authenticated access needed) presents moderate risk. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) correctly reflects that attackers need valid WordPress credentials at contributor level or higher, limiting the initial attack surface to trusted or compromised user accounts. However, the scope change (S:C) and ability to inject arbitrary JavaScript that persists across all page views elevates practical risk for multi-author WordPress sites or those with guest content. No EPSS score or CISA KEV confirmation provided in input data. No public exploit code identified at analysis time. The realistic risk depends heavily on site trust model: isolated WordPress instances with few contributors face lower risk, while community platforms or agency-managed sites with multiple contributors face higher risk from malicious insiders or compromised credentials. The lack of user interaction requirement (UI:N) means scripts execute automatically on page load without victim action. |
| Exploit ScenarioDerived | A contributor-level WordPress user (or an attacker who has compromised such an account) creates a page or post containing the wpcsm_text_rotator shortcode with a 'text' attribute containing JavaScript payload, such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
Stored cross-site scripting in WPC Smart Messages for WooCommerce plugin through version 4.2.8 allows authenticated attackers with contributor-level access to inject arbitrary JavaScript via the 'text' attribute of the wpcsm_text_rotator shortcode, resulting in execution whenever users view affected pages. The vulnerability stems from insufficient input sanitization and output escaping. No active exploitation confirmed; patch available in version 4.2.9.
RemediationAI
Update WPC Smart Messages for WooCommerce to version 4.2.9 or later immediately via the WordPress admin plugin dashboard or direct download from https://wordpress.org/plugins/wpc-smart-messages. Version 4.2.9 implements proper input sanitization and output escaping for the wpcsm_text_rotator shortcode attributes (confirmed by source code changes in plugins.trac.wordpress.org/browser/wpc-smart-messages/tags/4.2.9). Until patching is possible, temporarily disable the wpcsm_text_rotator shortcode by removing or deactivating the plugin, or restrict shortcode creation to administrators only via user role controls in WordPress. As a post-remediation step, audit existing pages and posts for any injected shortcodes with suspicious 'text' attribute values and remove or sanitize them.
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 vulnerability exists in the wpcsm_text_rotator shortcode handler within the WPC Smart Messages for WooCommerce plugin (CPE: cpe:2.3:a:wpclever:wpc_smart_messages_for_woocommerce:*:*:*:*:*:*:*:*), specifically in the class-shortcode.php file around line 458. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied shortcode attributes are processed and stored in the WordPress database without proper sanitization, then rendered on the front-end without adequate HTML entity encoding or escaping. This is a classic stored XSS pattern in WordPress plugins where shortcode parameters intended for legitimate content are not treated as potentially malicious input.
Know when Wpc Smart Messages For 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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The WPC Smart Messages for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text' attribute of the wpcsm_text_rotator shortcode in all versions up to, and including, 4.2.8. This is due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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.
EUVD-2026-25986
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB