CVE-2026-10780
Deferred Deferred - Pending Action

Insecure Direct Object Reference in Static Block WordPress Plugin

Vulnerability report for CVE-2026-10780, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2026-06-17
EPSS Evaluated
2026-07-05
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
Detection Guidance

This vulnerability involves the Static Block plugin for WordPress allowing authenticated users with contributor-level access or higher to read arbitrary post contents by embedding a shortcode with an 'id' attribute referencing posts they should not access.

Detection can focus on monitoring for the use of the shortcode [static_block_content id="X"] in user-generated content or preview requests, especially from contributor-level users.

Since the vulnerability is exploited by embedding the shortcode in content and previewing it, you can search your WordPress database or logs for occurrences of the shortcode pattern.

  • Use a database query to find posts or content containing the shortcode, for example in MySQL: SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[static_block_content id="%'
  • Check web server access logs for requests that include preview parameters combined with the shortcode usage.
  • Monitor user activity logs for contributor-level users creating or previewing content containing the shortcode.
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.

Compliance Impact

This vulnerability allows authenticated users with contributor-level access or higher to read the contents of arbitrary posts, including private and draft static blocks created by administrators, without proper authorization checks.

Such unauthorized access to potentially sensitive or private information could lead to violations of data protection standards and regulations like GDPR or HIPAA, which require strict controls on access to personal or sensitive data.

Therefore, exploitation of this vulnerability may result in non-compliance with these regulations due to improper access control and potential exposure of protected information.

Mitigation Strategies

To mitigate this vulnerability, immediate steps include:

  • Update the Static Block plugin to a version later than 2.2 where the vulnerability is fixed.
  • Restrict contributor-level and above users from embedding the [static_block_content] shortcode until the plugin is updated.
  • Implement additional access controls or filters to verify post status and user capabilities before rendering post content via the shortcode.
  • Monitor and audit user content for unauthorized shortcode usage.

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