Gutenberg Blocks – PublishPress Blocks Controls, Visibility, Reusable Blocks <= 3.7.6 - Authenticated (Author+) Stored Cross-Site Scripting via Content Display Block Post Text Excerpt

Medium 6.4 CWE-79Fixed in 3.7.7
ID
WPSEC-2026-3104
Plugin
PublishPress Blocks – Block Controls, Block Visibility, Block Permissions (advanced-gutenberg)
Affected
all versions 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 the post text excerpt of the Content Display (Recent Posts) block in all versions up to, and including, 3.7.6. This is due to insufficient output escaping: the advgbExtractHtml() function strips tags from post content and then decodes HTML entities, and the result is printed without escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a page that shows their published post in a Content Display block.

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