{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4656",
 "modified": "2026-12-04T20:41:37Z",
 "published": "2026-12-04T20:41:37Z",
 "summary": "Kadence Blocks — Page Builder Toolkit for Gutenberg Editor <= 3.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lazy Loading Attributes",
 "details": "The Kadence Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'data-kadence-lazy-*' attributes in post content and excerpts in versions 3.6.0 up to, and including, 3.9.2. The cause is that the Performance Optimizer's front-end lazy loader copies the value of every attribute named in 'data-kadence-lazy-attrs' from the matching 'data-kadence-lazy-<name>' attribute onto the element without restricting which attribute names are allowed, including event-handler attributes, and that these data attributes, which KSES permits, were not removed from saved content. 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, when the Performance Optimizer is enabled and the page has been optimized.",
 "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": "kadence-blocks"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.6.0"
      },
      {
       "fixed": "3.9.2.1"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.6.0 before 3.9.2.1"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4656/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/kadence-blocks/tags/3.9.2.1/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/kadence-blocks/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4656/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
