{
 "id": "WPSEC-2026-3642",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3642/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3642/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3642/index.md",
 "title": "WPC Smart Messages for WooCommerce <= 4.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via wpcsm_recent_order and wpcsm_product_terms Shortcode Attributes",
 "description": "The WPC Smart Messages for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text' attribute of the wpcsm_recent_order shortcode and the 'before', 'sep' and 'after' attributes of the wpcsm_product_terms shortcode in all versions up to, and including, 4.3.5. This is due to insufficient output escaping on these user-supplied shortcode 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.",
 "plugin": {
  "slug": "wpc-smart-messages",
  "name": "WPC Smart Messages for WooCommerce",
  "full_name": "WPC Smart Messages for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/wpc-smart-messages/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wpc-smart-messages/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wpc-smart-messages"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.0.1",
    "from_inclusive": true,
    "to": "4.3.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.1 before 4.3.6"
  ]
 },
 "introduced_in": "3.0.1",
 "fixed_in": "4.3.6",
 "remediation": "Update to 4.3.6 or later.",
 "fix_released": "2026-11-20T08:45:56+00:00",
 "published": "2026-11-21T09:41:26+00:00",
 "updated": "2026-11-21T09:04:01.291617+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3642/",
  "https://plugins.svn.wordpress.org/wpc-smart-messages/tags/4.3.6/",
  "https://wordpress.org/plugins/wpc-smart-messages/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wpc-smart-messages",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-21"
 }
}