PT-2026-49611 · WordPress · Static Block
CVE-2026-10780
·
Published
2026-06-16
·
Updated
2026-06-25
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Static Block versions prior to 2.3
Description
The Static Block plugin for WordPress contains an Insecure Direct Object Reference. This occurs because the
static block content() shortcode handler uses the get post() function to retrieve a post based on an attacker-supplied id attribute and outputs the post content without verifying the post status (such as private, draft, or pending) or the user's permissions. Authenticated attackers with contributor-level access or higher can exploit this to read arbitrary posts, including private and draft static blocks or other post types created by administrators, by embedding the [static block content id="X"] shortcode in their own content and previewing it.Recommendations
Update to a version later than 2.2.
As a temporary workaround, restrict the ability of users with contributor-level access to use shortcodes in their content.
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