# CVE-2026-10780: Static Block <= 2.2 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Disclosure via Shortcode 'id' Attribute

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-06-16T04:30:16.888Z
- Modified: 2026-06-17T10:12:32.613Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- mohammadtanzilurrahman Static Block: up to 2.2

## 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>

## Sources

- CVE List: [CVE-2026-10780](https://www.cve.org/CVERecord?id=CVE-2026-10780), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-10780](https://nvd.nist.gov/vuln/detail/CVE-2026-10780), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-10780 · Whole record: https://cve.day/CVE-2026-10780.json · Rebuilt by cve.day 2026-11-25T22:59:24.726Z
