Vulnerability · Published Jun 16, 2026 · Assigned by Wordfence
CVE-2026-10780Static Block <= 2.2 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Disclosure via Shortcode 'id' Attribute
Medium 4.3
In plain English
A medium-severity authorization bypass via user-controlled key in Static Block from mohammadtanzilurrahman. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mohammadtanzilurrahman | Static Block | 0 – through 2.2 |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f88c00ca-cf9e-44e7-9495-686ace1ead21?source=cve
- https://plugins.trac.wordpress.org/browser/static-block/trunk/static-block.php#L270
- https://plugins.trac.wordpress.org/browser/static-block/trunk/static-block.php#L244
- https://plugins.trac.wordpress.org/browser/static-block/trunk/static-block.php#L268