CVE-2026-10780 Information disclosure in Static Block

Medium 4.3 Published Updated

Authenticated contributors can read private or draft posts by exploiting an insecure direct object reference in the Static Block plugin's shortcode handler.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-10780?

CVE-2026-10780 is a medium-severity vulnerability in mohammadtanzilurrahman Static Block, published on 16 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-639

Which versions are affected by CVE-2026-10780?

How do I fix CVE-2026-10780?

No fix has been published for CVE-2026-10780 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-10780 being exploited?

There is no known exploitation of CVE-2026-10780 in the wild and no public exploit code.

Sources

Also known as GHSA-3hxp-mvw5-v9p7.

Is CVE-2026-10780 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free