CVE-2026-6725: WPC Smart Messages for WooCommerce <= 4.2.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attribute
The WPC Smart Messages for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text' attribute of the wpcsmtextrotator 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WPC Smart Messages for WooCommerceto a version that resolves this vulnerability.Fixed in 4.2.8
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6725?
CVE-2026-6725 is classified as a medium-severity vulnerability due to its potential for executing stored cross-site scripting attacks.
How do I fix CVE-2026-6725?
To mitigate CVE-2026-6725, update the WPC Smart Messages for WooCommerce plugin to a version newer than 4.2.8.
Who is affected by CVE-2026-6725?
CVE-2026-6725 affects users of the WPC Smart Messages for WooCommerce plugin version 4.2.8 or earlier.
What type of vulnerability is CVE-2026-6725?
CVE-2026-6725 is a stored cross-site scripting vulnerability that allows attackers to inject malicious scripts.
What can attackers achieve with CVE-2026-6725?
Attackers exploiting CVE-2026-6725 can execute arbitrary scripts in the context of a user's browser, potentially leading to data theft or session hijacking.