Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify event page with comments enabled
-
DeliverySubmit comment with malicious serialized block + forged wp_hash
-
ExploitOpen returned moderation-hash preview URL
-
Installdo_blocks() renders buffered comment HTML
-
C2Bypass is_safe_widget_instance, reach unserialize()
-
ExecuteMagic methods execute POP gadget
-
ImpactArbitrary code runs as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
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 | Requires that comments are enabled AND visible on event posts in The Events Calendar's V2 single-event template - this is the explicit precondition stated in the description. No authentication, account, or moderator approval is needed (the WordPress moderation-hash URL lets the unauthenticated commenter view their own pending comment immediately), and no user interaction by a victim is required. Exploitation is limited to sites running an affected version (≤6.17.4) that use the V2 templates and permit public event comments; sites with event comments disabled or hidden from anonymous visitors are not reachable via this path. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS number: the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) is consistent with the description of unauthenticated network-based RCE, and the vulnerable code path and gadget mechanics are documented at the source-line level, lowering the barrier to weaponization. The most important caveat is a configuration dependency the raw score does not capture: exploitation requires comments to be enabled AND visible on events, so sites that disable event comments are not exploitable through this vector - this is a meaningful real-world limiter. No CISA KEV listing and no confirmed public POC are present in the input, so there is no evidence of active exploitation yet, but the combination of unauthenticated access, a very popular plugin, and a fully-described bypass means any operator running an affected version with comments enabled should treat patching as urgent. EPSS was not provided, so probabilistic exploitation likelihood cannot be quantified here. |
| Exploit ScenarioDerived | An unauthenticated attacker posts a comment on a public event containing a crafted Gutenberg block whose attributes embed a serialized PHP object gadget chain with a forged wp_hash. WordPress returns a moderation-hash URL letting the attacker immediately view their own pending comment, which triggers do_blocks() over the buffered comment HTML; the forged hash passes is_safe_widget_instance and PHP fires the gadget's magic methods during pre-parse, reaching unserialize() and executing attacker code as the web server user - all before any moderator reviews the comment. |
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 plugin for WordPress (StellarWP) affects all versions up to and including 6.17.4, allowing unauthenticated attackers to run arbitrary PHP on the server via unsafe deserialization. The is_safe_widget_instance guard is bypassed because PHP fires magic methods during pre-parse and enable_rendering_widget_copied() forges a valid wp_hash integrity attribute before unserialize() executes; the malicious block markup reaches the sink through the V2 single-event template running do_blocks() over buffered comment HTML. Reported by Wordfence with a CVSS of 9.8; no public exploit identified at time of analysis, though the vulnerability is well-documented with pinpointed source-line references.
RemediationAI
Upstream fix available (changeset 3690576 in the WordPress.org SVN repo); a released patched version above 6.17.4 has not been independently confirmed from the input, so update to the latest available The Events Calendar release (the first version after 6.17.4) as verified against the Wordfence advisory before deploying. If immediate patching is not possible, the most direct compensating control is to disable comments on events or hide comments from unauthenticated visitors, since exploitation requires comments to be enabled and visible - the trade-off is loss of public commenting on event pages. Additionally, restrict or WAF-filter requests carrying serialized-object/block markup to comment submission and moderation-hash comment-preview URLs, and consider disabling event widgets that rely on the copied-widget rendering path; note WAF rules for deserialization payloads can be bypassed and should be treated as temporary. Consult the Wordfence advisory (URL above) for detection signatures.
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 component is the WordPress plugin The Events Calendar (CPE cpe:2.3:a:stellarwp:the_events_calendar), one of the most widely used event-management plugins. The root cause is CWE-502 (Deserialization of Untrusted Data): user-influenced data reaches PHP's unserialize() and instantiates object graphs whose magic methods (e.g. __wakeup/__destruct) execute during PHP's pre-parse phase, forming a POP (property-oriented programming) gadget chain. The plugin attempts to gate this with is_safe_widget_instance and a wp_hash integrity check, but enable_rendering_widget_copied() can forge a wp_hash value that passes validation, and magic methods fire before the guard is effective. Delivery is the notable twist: the V2 single-event template invokes do_blocks() on buffered comment HTML, and WordPress issues a moderation-hash URL that lets an unauthenticated commenter immediately view their own pending comment - carrying the injected Gutenberg block markup into the vulnerable path before any moderation occurs. Trac links point to Template_Bootstrap.php, Widgets/Service_Provider.php, Lazy_Post_Collection.php, and Collection_Trait.php in the 6.17.3 tree.
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 delivery via public comment, no victim interaction, reaching PHP object injection for full code execution; the comments-enabled dependency is a common config so AC remains Low.
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.4 via the is_safe_widget_instance function. This is due to insufficient protection in is_safe_widget_instance, which can be bypassed because PHP fires magic methods during its pre-parse, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. This makes it possible for unauthenticated attackers to execute code on the server. This is exploitable without authentication or approval because the plugin's V2 single-event template runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that allows an unauthenticated commenter to immediately view their own pending comment, delivering the injected block markup to the vulnerable code path before any moderation occurs. This does require comments to be enabled and visible on events.
Articles & Coverage 1
Technical POC Analysis
The bug class is CWE-502: deserialization of untrusted data.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
The Events Calendar plugin for WordPress (installed on thousands of event-driven websites) is vulnerable to unauthenticated remote code execution in all versions through 6.17.4, allowing attackers to gain complete control of affected web servers without any credentials or user interaction. An attacker exploiting this flaw can execute arbitrary PHP code, read/modify data, install backdoors, or launch further attacks on internal networks. Organizations using this plugin face immediate operational risk and potential regulatory exposure from unauthorized data access or system compromise.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) implement WAF rules to filter malicious requests targeting the plugin, (2) disable or closely moderate comments on event posts if operationally feasible, (3) restrict network access to WordPress admin and plugin endpoints, (4) enhance server-side logging and monitoring for exploitation attempts, (5) consider temporary plugin deactivation if business operations permit.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
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 allBlind 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
Remote code execution in The Events Calendar WordPress plugin (StellarWP) through version 6.17.3 lets unauthenticated at
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-76832
GHSA-4q25-cq4p-f83q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB