ZoloBlocks – Advanced Gutenberg Blocks, Website Builder & Page Design Toolkit <= 2.8.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image Gallery and Lightbox Captions

Medium 5.4 CWE-79Fixed in 2.8.5
ID
WPSEC-2026-3865
Plugin
ZoloBlocks – Advanced Gutenberg Blocks, Website Builder & Page Design Toolkit (zoloblocks)
Affected
all versions before 2.8.5
Remediation
Update to 2.8.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
Attack surface
ZoloBlocks – Advanced Gutenberg Blocks, Website Builder & Page Design Toolkit on WPSec AttackSurface
Fix released
Published

Description

The ZoloBlocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via lightbox captions (the data-caption attribute used by the Image Gallery and Lightbox blocks) in all versions up to, and including, 2.8.4, due to insufficient sanitization. The bundled FsLightbox script copies every caption when it loads and renders it with innerHTML. The plugin's client-side caption cleaning ran too late and only replaced the captions of Image Gallery instances, so captions on other lightbox links were never cleaned. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that execute when a user opens the lightbox.

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