Skip to content

CVE-2026-78006 The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
PHPWordPress

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
stellarwp The Events Calendar <= 6.17.4 after 6.17.4 Fixed
wordpress the-events-calendar(WordPress) < 6.17.4.1 6.17.4.1 Fixed

Affected products

ProductAffected versionsFixed in
stellarwp The Events Calendar <= 6.17.4 No fix listed
wordpress the-events-calendar(WordPress) < 6.17.4.1 6.17.4.1

References