PT-2026-49611 · Mohammadtanzilurrahman · Static Block
Published
2026-06-16
·
Updated
2026-06-16
·
CVE-2026-10780
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
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.
Fix
IDOR
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Static Block