{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4402",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "Visual Composer Website Builder <= 45.16.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Encoded Front View Blocks",
 "details": "The Visual Composer Website Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via encoded 'vcv no format' front view blocks in all versions up to, and including, 45.16.5, due to the plugin's the_content decoder base64-decoding any block wrapped in its static '<!--vcv no format-->' comment markers, including markers that appear in the content after the plugin's own encoding step, for example in rendered block or shortcode output. Encoded markup gets past kses filtering and is decoded into raw HTML on output. 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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "visualcomposer"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "45.16.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 45.16.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4402/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/visualcomposer/tags/45.16.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/visualcomposer/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4402/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
