{
 "id": "WPSEC-2026-1560",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1560/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1560/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1560/index.md",
 "title": "Kadence Blocks <= 3.8.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Advanced Gallery Lightbox Link Attributes",
 "description": "The Kadence Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Advanced Gallery lightbox in all versions up to, and including, 3.8.0.1, due to the front-end gallery lightbox script passing the title, data-title, data-description, data-glightbox and other data-* attributes of gallery item links to GLightbox without sanitization or escaping, which renders them as HTML. 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 and opens the gallery lightbox.",
 "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": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.8.0.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.8.0.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.8.0.2",
 "remediation": "Update to 3.8.0.2 or later.",
 "fix_released": "2026-10-22T19:31:10+00:00",
 "published": "2026-10-23T19:41:28+00:00",
 "updated": "2026-10-23T09:48:16.190067+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1560/",
  "https://plugins.svn.wordpress.org/kadence-blocks/tags/3.8.0.2/",
  "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-23"
 }
}