CVE-2026-10780
Received Received - Intake
Insecure Direct Object Reference in Static Block WordPress Plugin

Publication date: 2026-06-16

Last updated on: 2026-06-16

Assigner: Wordfence

Description
The Static Block plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.2. This is due to the static_block_content() shortcode handler retrieving a post via get_post() using an attacker-supplied 'id' attribute and outputting its post_content without verifying the post's status (private, draft, pending) or the requesting user's capability to view it. This makes it possible for authenticated attackers, with contributor-level access and above, to read the contents of arbitrary posts, including private and draft static blocks (and any other post type) created by administrators, by embedding the [static_block_content id="X"] shortcode in their own content and previewing it.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-16
Last Modified
2026-06-16
Generated
2026-06-16
AI Q&A
2026-06-16
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wordfence static_block to 2.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Static Block plugin for WordPress has a vulnerability called Insecure Direct Object Reference (IDOR) in all versions up to and including 2.2.

This happens because the shortcode handler static_block_content() retrieves a post using an attacker-supplied 'id' attribute without verifying the post's status (such as private, draft, or pending) or whether the user has permission to view it.

As a result, authenticated users with contributor-level access or higher can read the contents of arbitrary posts, including private and draft static blocks or other post types created by administrators, by embedding the shortcode [static_block_content id="X"] in their own content and previewing it.

Impact Analysis

This vulnerability allows attackers with contributor-level access or above to read private or draft content that they should not normally be able to access.

This could lead to unauthorized disclosure of sensitive or confidential information contained in private posts or static blocks created by administrators.

Since the vulnerability does not allow modification or deletion, the impact is limited to confidentiality loss.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-10780. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart