CVE-2026-71427: WPGraphQL Content Blocks: Unauthenticated Sensitive Information Disclosure via editorBlocks.renderedHtml
WPGraphQL Content Blocks is a WordPress plugin that extends WPGraphQL to support querying Gutenberg blocks as data. Prior to 4.8.6, the editorBlocks renderedHtml field in includes/Data/ContentBlocksResolver.php uses resolvecontentblocks() to read a post with getpost() without applying postpasswordrequired(). An unauthenticated caller who knows a supported post identifier can therefore retrieve the complete body of a password-protected published post without a post password, nonce, or valid cookie, exposing paid, member-only, preview, or internal content. This issue is fixed in version 4.8.6.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WPGraphQL Content Blocksto a version that resolves this vulnerability.Fixed in 4.8.6