Gutenberg Blocks – PublishPress Blocks Controls, Visibility, Reusable Blocks <= 3.7.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Data Attributes

Medium 6.4 CWE-79Fixed in 3.7.7
ID
WPSEC-2026-3106
Plugin
PublishPress Blocks – Block Controls, Block Visibility, Block Permissions (advanced-gutenberg)
Affected
from 3.3.2 before 3.7.7
Remediation
Update to 3.7.7 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 Low · Affected versions Low among sites WPSec scans, 2026-11-13
Attack surface
Gutenberg Blocks – PublishPress Blocks Controls, Visibility, Reusable Blocks on WPSec AttackSurface
Fix released
Published

Description

The PublishPress Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'data-cbox-*' lightbox attributes in post content in all versions from 3.3.2 up to, and including, 3.7.6. This is due to insufficient input sanitization: WordPress allows data-* attributes in post content, and the bundled Colorbox library reads its options, such as 'html' and 'title' (and 'open', which opens the lightbox on page load), from these attributes on the plugin's lightbox elements and 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.

References

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

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

License: CC BY 4.0