CyberRota Analysis
AI-GeneratedThe Events Calendar plugin for WordPress is vulnerable to Remote Code Execution due to insufficient protection in the is_safe_widget_instance function, allowing unauthenticated attackers to execute arbitrary code on the server. This critical vulnerability affects all versions up to 6.17.4 and can be exploited when comments are enabled and visible on events, making it imperative for WordPress site administrators using this plugin to prioritize immediate patching or mitigation. Organizations relying on this plugin should assess their exposure and implement security measures to prevent potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.