Skip to main content

WPC Smart Messages for WooCommerce CVE-2026-6725

| EUVDEUVD-2026-25986 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-28 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain contributor+ credentials
  2. Delivery
    Create page with malicious shortcode
  3. Exploit
    Inject XSS via text attribute
  4. Install
    Script persists in database
  5. C2
    Visitors load page
  6. Execute
    JavaScript executes in browser
  7. Impact
    Steal 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 [wpcsm_text_rotator text="<img src=x onerror='fetch("/wp-admin/user-new.php",{method:"POST",body:"..."})'>"]. The injected script is stored in the WordPress database without sanitization. When any site visitor views the affected page, the JavaScript executes in their browser context with the privileges of the logged-in user (if any), allowing credential theft, admin account creation, malware injection, or data exfiltration.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

WPC Smart Messages for WooCommerce 0 ≤4.2.8

Affected Packages

euvd wpc_smart_messages_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 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

NVD PRIMARY 6.4 MEDIUM
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

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

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

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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