Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit comment with wp:legacy-widget block on event
-
DeliveryPlant plain-array 'classes' payload
-
ExploitVictim loads single-event page
-
Executiondo_blocks() renders comment HTML
-
Persistparse_array() bypasses is_safe_widget_instance()
-
ImpactCallable sink executes attacker PHP
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target site has comments enabled on tribe_events (event) posts and that at least one comment containing a crafted wp:legacy-widget block has been submitted and is reachable when the single-event page is rendered, because the chain only fires when do_blocks() processes the single-event HTML including the comment area. No authentication is required (PR:N). Limiting factors: sites that disable comments on events, moderate/strip block markup in comments, or do not render the vulnerable V2 single-event template with the comment area are not exploitable; comment moderation that prevents the malicious block from ever being rendered also breaks the chain. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) reflects unauthenticated network RCE with full impact, which is the correct ceiling for arbitrary code execution. However, the description imposes real preconditions that the AC:L rating understates: the target must have comments enabled on tribe_events posts AND at least one comment carrying a crafted wp:legacy-widget block must already have been submitted and reach rendering. That makes practical exploitation meaningfully harder than a raw 9.8 suggests - I would assess AC:H. No EPSS score, KEV entry, or public POC is present in the provided data, so there is no evidence of active exploitation; treat this as a high-severity-but-conditionally-reachable issue rather than a confirmed mass-exploitation event. Given the plugin's very large install base, patching remains a clear priority for any site that allows event comments. |
| Exploit ScenarioDerived | On a site running The Events Calendar ≤6.17.3 with comments enabled on events, an unauthenticated attacker submits a comment on an event post containing a crafted wp:legacy-widget block whose widget 'classes' map is a plain array carrying a callable. When any visitor loads that single-event page, do_blocks() parses the comment HTML and Element_Classes::parse_array() invokes the attacker-supplied callable, executing PHP as the web server. No public POC is noted in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 12, 2026
Remote code execution in The Events Calendar WordPress plugin (StellarWP) through version 6.17.3 lets unauthenticated attackers run arbitrary PHP on the server by abusing Element_Classes::parse_array(). A plain-array widget 'classes' payload evades the is_safe_widget_instance() object check and reaches a callable-invocation sink; the chain fires when do_blocks() renders a single-event page whose comment area contains a crafted wp:legacy-widget block. Reported by Wordfence with a 9.8 CVSS; no public exploit identified at time of analysis, and the flaw is only reachable on sites that enable comments on tribe_events posts.
RemediationAI
Upgrade The Events Calendar beyond 6.17.3 to the current patched release; the fix is committed in WordPress.org changesets 3667866 and 3667867 (https://plugins.trac.wordpress.org/changeset?old=3667866%40the-events-calendar and /changeset?old=3667867%40the-events-calendar), which correspond to the next tagged release (Upstream fix available as changesets; the exact released patched version is not independently confirmed from the provided data - verify against the plugin changelog before relying on a specific number). If immediate patching is not possible, break the attack chain by disabling comments on event (tribe_events) posts, which prevents attacker-controlled wp:legacy-widget blocks from ever reaching do_blocks() during single-event rendering; the trade-off is loss of legitimate event commenting. As a secondary control, restrict or moderate comment submission and strip block markup from untrusted comment content. Consult the Wordfence advisory for detection and virtual-patching guidance.
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 affected code lives in the plugin's shared Tribe utility layer (common/src/Tribe/Utils/Element_Classes.php:211). Element_Classes::parse_array() is meant to normalize a widget's CSS 'classes' map, but its guard, is_safe_widget_instance(), only validates object-shaped instances. Supplying a plain PHP array bypasses that object check and lets attacker-controlled data reach a point where a map entry is treated as a callable and invoked - the CWE-94 code-injection root cause. The trigger path is the V2 rendering pipeline: Template_Bootstrap.php and the Widgets Service_Provider hydrate widget instances, messages.php buffers the comment/message HTML, and Template_Bootstrap runs do_blocks() over the single-event output, parsing the malicious wp:legacy-widget block embedded in a submitted comment. CPE cpe:2.3:a:stellarwp:the_events_calendar confirms the vendor is StellarWP (Liquid Web/Events Calendar team), not a third party.
Know when The Events Calendar 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:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network RCE (PR:N, full CIA impact), but AC:H because it requires comments enabled on events plus a pre-planted crafted comment block rendered via do_blocks().
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.3 via the parse_array function. This is due to insufficient validation of the widget 'classes' map, allowing a plain-array payload to bypass the is_safe_widget_instance() object check and reach the callable-invocation sink in Element_Classes::parse_array(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires that the targeted site has comments enabled on tribe_events posts and that at least one comment containing a crafted wp:legacy-widget block has been submitted, as the attack chain is triggered when do_blocks() processes the single-event HTML including the comment area.
Articles & Coverage 1
Executive ViewAI
The Events Calendar WordPress plugin (through version 6.17.3) contains a critical unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary PHP code on affected servers. Any website using this plugin with comments enabled on event posts is at risk of complete server compromise, data exfiltration, and service disruption. With no patch currently available, immediate interim containment is required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable WordPress comments on tribe_events custom post type via wp_post_types filter; (2) block wp:legacy-widget block rendering in comments via content filtering; (3) restrict HTTP requests to event pages by IP allowlist if feasible; (4) deploy Web Application Firewall rules to block requests containing serialized objects or unusual 'classes' parameter values in comment payloads; (5) enable WordPress security plugin monitoring (e.g., Wordfence) to alert on exploitation attempts. Most effective: disable the plugin until patched if events scheduling is not essential.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in The Events Calendar
View allRemote code execution in The Events Calendar plugin for WordPress (StellarWP) affects all versions up to and including 6
Blind SQL injection in The Events Calendar WordPress plugin (versions 6.15.12 through 6.16.2) by Liquid Web / StellarWP
The Events Calendar WordPress plugin before 6.4.0.1 does not properly sanitize user-submitted content when rendering som
The Events Calendar WordPress plugin before 6.2.8.1 discloses the content of password protected posts to unauthenticated
Unauthenticated shortcode injection in The Events Calendar WordPress plugin before 6.17.5.1 allows remote attackers to t
The events-calendar-pro WordPress plugin before 6.4.0.1, The Events Calendar WordPress plugin before 6.4.0.1 does not pr
PHP object injection in The Events Calendar WordPress plugin (all versions through 6.17.4, published by Liquid Web / Ste
PHP Object Injection in the WordPress plugin The Events Calendar (all versions up to and including 6.17.2) allows unauth
The The Events Calendar plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the 'tribe_has_
Integrity bypass in The Events Calendar WordPress plugin allows unauthenticated attackers to mark existing Event Aggrega
The Events Calendar WordPress plugin before 6.8.2.1 is missing access checks in the REST API, allowing for unauthenticat
The Events Calendar WordPress plugin before 6.17.3.1 exposes unpublished site content - drafts, pending posts, and priva
EUVD-2026-76833
GHSA-9c57-9fxg-8x9j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB