CVE-2026-10780 Static Block <= 2.2 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Disclosure via Shortcode 'id' Attribute
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- WordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mohammadtanzilurrahman Static Block | <= 2.2 | after 2.2 | Fixed |
| wordpress static-block(WordPress) | <= 2.2 | after 2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mohammadtanzilurrahman Static Block | <= 2.2 | No fix listed |
| wordpress static-block(WordPress) | <= 2.2 | No fix listed |
References
- www.wordfence.com
- plugins.trac.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org