Kadence Blocks — Page Builder Toolkit for Gutenberg Editor <= 3.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lazy Loading Attributes

Medium 6.4 CWE-79Fixed in 3.9.2.1
ID
WPSEC-2026-4656
Plugin
Kadence Blocks — Page Builder Toolkit for Gutenberg Editor (kadence-blocks)
Affected
from 3.6.0 before 3.9.2.1
Remediation
Update to 3.9.2.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-12-04
Attack surface
Kadence Blocks — Page Builder Toolkit for Gutenberg Editor on WPSec AttackSurface
Fix released
Published

Description

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0