Skip to main content

Static Block EUVDEUVD-2026-37034

| CVE-2026-10780 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-06-16 Wordfence GHSA-3hxp-mvw5-v9p7
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level WordPress account
  2. Exploit
    Craft post embedding [static_block_content id="X"] shortcode
  3. Execution
    Trigger WordPress post preview to execute shortcode
  4. Impact
    Enumerate integer post IDs to harvest private and draft post_content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires an authenticated WordPress user account holding at minimum the contributor role - this is confirmed by the CVSS PR:L metric. The attacker must have access to the WordPress post editor and the ability to use the post preview feature, both of which are standard contributor capabilities in a default WordPress installation. The static_block_content shortcode must be registered and active, meaning the Static Block plugin must be installed and active. Exploitation is bounded to reading post_content fields only - it does not expose post metadata, user credentials, file system contents, or any data outside WordPress post records. Attackers must iterate or guess valid numeric post IDs (WordPress auto-increments these sequentially, making enumeration trivial). Exploitation is not possible from unauthenticated sessions, limiting exposure to sites with open registration that assigns the contributor role or to scenarios involving compromised contributor credentials.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) scoring 4.3 Medium accurately reflects the bounded confidentiality-only impact and the mandatory low-privilege authentication requirement. Real-world risk is highly deployment-dependent: sites that permit open contributor registration or that host untrusted contributors face meaningful exposure of sensitive unpublished content, while tightly managed single-author sites have negligible risk. No EPSS data was provided in the input, and the vulnerability is not in CISA KEV, so mass exploitation is not confirmed. The 'Authentication Bypass' tag in the source data is misleading and should be read as 'Authorization Bypass' - the CVSS PR:L metric confirms authentication is required, not bypassed. The attack requires no technical sophistication beyond knowing the shortcode syntax and using the standard post preview flow, meaning the effective exploitation barrier is primarily the contributor credential itself. Integrity and availability are not impacted, which appropriately limits the score, though the content exposed (private drafts, admin-authored static blocks) may be operationally sensitive depending on site context.

Exploit ScenarioDerived

An attacker registers or compromises a contributor-level account on a target WordPress site running Static Block ≤2.2. They create a new draft post and embed the shortcode [static_block_content id="15"] (iterating numeric IDs from 1 upward), then use the WordPress post preview endpoint to render the shortcode output. For each valid post ID, the handler returns the full post_content regardless of whether that post is private, draft, or pending review - exposing administrator-authored static blocks, unpublished articles, and other sensitive content without any additional privilege escalation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Insecure Direct Object Reference in the Static Block WordPress plugin (versions ≤2.2) allows contributor-level authenticated users to read the full post_content of any post - including private, draft, and pending posts created by administrators - by embedding the [static_block_content id="X"] shortcode and triggering a preview. The shortcode handler in static-block.php calls get_post() with an attacker-supplied numeric ID and outputs the result without any post-status or capability verification. No public exploit code has been identified at time of analysis and this is not listed in CISA KEV, but the attack is low-complexity and requires only a standard contributor WordPress account.

RemediationAI

The primary remediation is to update the Static Block plugin to a version beyond 2.2 once a patched release is confirmed; no exact fixed version number is available in the current data, so administrators should monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/f88c00ca-cf9e-44e7-9495-686ace1ead21?source=cve for patch confirmation. As an immediate compensating control, administrators should audit and restrict contributor-level role assignments, removing or demoting any untrusted users, since the attack is entirely gated on holding at least a contributor account. If the plugin is not actively required, deactivating it eliminates the attack surface entirely with the trade-off of disabling all shortcode-rendered static block content site-wide. Role management plugins can additionally be used to strip shortcode execution or post preview capabilities from contributors, though this may conflict with normal WordPress editorial workflows. Content sensitivity of private and draft posts should be assessed - sites storing credentials, internal communications, or sensitive operational data in draft post_content fields should treat this as higher priority.

Affected VersionsENISA

Static Block 0 ≤2.2

Affected Packages

euvd static_block no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability originates in the static_block_content() shortcode handler within static-block.php (lines 244, 268, 270 per the trac.wordpress.org source references). WordPress's get_post() function retrieves any post object by numeric ID regardless of its publication status - it is a raw database fetch with no built-in authorization enforcement. Correct implementation requires either checking the post's post_status against the requesting user's capabilities (e.g., current_user_can('read_private_posts')) or using a query that constrains post_status to 'publish'. By omitting these checks and directly printing post_content, the handler creates a CWE-639 (Authorization Bypass Through User-Controlled Key) condition: the user-supplied 'id' attribute acts as the object key and no authorization gate stands between it and the output. The CPE string cpe:2.3:a:mohammadtanzilurrahman:static_block:*:*:*:*:*:*:*:* confirms the affected plugin is the Static Block plugin by vendor mohammadtanzilurrahman, distributed through the WordPress plugin directory.

Know when Static Block gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY MEDIUM
NVD 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

PR:L reflects mandatory contributor authentication; C:L is appropriate since only post_content is exposed, not credentials or system data.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy