{
 "id": "WPSEC-2026-0597",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0597/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0597/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0597/index.md",
 "title": "Kadence Blocks <= 3.7.12 - Authenticated (Contributor+) Stored Cross-Site Scripting via Posts Block Title Heading Level",
 "description": "The Kadence Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Posts block's title heading level attribute in versions 1.10.3 up to, and including, 3.7.12. This is due to the attribute being concatenated into the element name of each post title's heading without validation; escaping the tag name with esc_attr() does not prevent spaces and additional attributes. The Count Up block's title tag and heading level attributes are affected in the same way on sites where its server-side rendering is enabled through the 'kadence-blocks-countup-static' filter. 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": "kadence-blocks",
  "name": "Kadence Blocks",
  "full_name": "Kadence Blocks — Page Builder Toolkit for Gutenberg Editor",
  "wordpress_org": "https://wordpress.org/plugins/kadence-blocks/",
  "advisories_url": "https://wpsec.com/vuln/plugin/kadence-blocks/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/kadence-blocks"
 },
 "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": "1.10.3",
    "from_inclusive": true,
    "to": "3.7.12.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.10.3 before 3.7.12.1"
  ]
 },
 "introduced_in": "1.10.3",
 "fixed_in": "3.7.12.1",
 "remediation": "Update to 3.7.12.1 or later.",
 "fix_released": "2026-10-06T19:18:36+00:00",
 "published": "2026-10-07T19:47:10+00:00",
 "updated": "2026-10-07T11:22:46.037471+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0597/",
  "https://plugins.svn.wordpress.org/kadence-blocks/tags/3.7.12.1/",
  "https://wordpress.org/plugins/kadence-blocks/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/kadence-blocks",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-10-07"
 }
}