The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution
No fixed version listed yet.Check the vendor advisory. References ↓
stellarwp · The Events Calendar
The Events Calendar plugin for WordPress, in versions up to and including 6.17.4, contains an unauthenticated PHP object injection flaw in its is_safe_widget_instance check, which can be bypassed and leads to unsafe deserialization. An unauthenticated attacker who can submit a comment on an event where comments are enabled and visible can exploit it by using the moderation-hash URL to view their own pending comment, which delivers the crafted block markup to the vulnerable code path before moderation occurs, leading to remote code execution on the server.
Official description · CVE.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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.
- Public exploit codePoC-in-GitHub+1 day
Affected versions and fixes
as published in the CVE recordstellarwp The Events Calendar
Affected: <= 6.17.4
What security researchers reported
Not named in any threat report yetAlso mentioned in 6 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Sep 21, 2026 | Part 1/320 Sep 2026
- Active Exploit: WooCommerce Wholesale Lead Capture RCE (CVE-2026-27540) + Events Calendar RCEs20 Sep 2026
- Known_Cve | Sep 20, 2026 | Part 1/319 Sep 2026
- Known_Cve | Sep 19, 2026 | Part 1/318 Sep 2026
- The Events Calendar WordPress Unauth RCE — CVE-2026-78159 & CVE-2026-7800617 Sep 2026
- Attackers Exploit WooCommerce Wholesale Lead Capture Flaw to Plant PHP Web Shells16 Sep 2026