CVE-2026-78006
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2<=6.17.4+ 1 more
- (no CPE)range: <=6.17.4
- (no CPE)range: <=6.17.4
Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/common/src/Tribe/Utils/Collection_Trait.phpnvd
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Collections/Lazy_Post_Collection.phpnvd
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Views/V2/Template_Bootstrap.phpnvd
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Views/V2/Widgets/Service_Provider.phpnvd
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Views/V2/Widgets/Service_Provider.phpnvd
- plugins.trac.wordpress.org/changesetnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/a0c67346-534a-4b67-a904-fa148703707anvd
News mentions
5- Wordfence Intelligence Weekly WordPress Vulnerability Report (September 7, 2026 to September 13, 2026)Wordfence Blog · Sep 17, 2026
- Unauthenticated RCE Flaws Could Expose 200,000+ WordPress Sites to TakeoverSecurityWeek · Sep 16, 2026
- Attackers Exploit WooCommerce Wholesale Lead Capture Flaw to Plant PHP Web ShellsThe Hacker News · Sep 16, 2026
- Critical WordPress Plugin Flaws Put Over 600,000 Websites at Risk of TakeoverCyber Security News · Sep 15, 2026
- Wordfence Argus Identifies Two Critical Unauthenticated Vulnerability Chains Leading to Remote Code Execution in The Events Calendar PluginWordfence Blog · Sep 14, 2026