CVE-2026-78006: CWE-502 Deserialization of Untrusted Data in stellarwp The Events Calendar
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 Analysis
Technical Summary
CVE-2026-78006 is a critical remote code execution vulnerability in the The Events Calendar WordPress plugin (versions <=6.17.4). It stems from insufficient validation in the is_safe_widget_instance function, which can be bypassed due to PHP firing magic methods during pre-parsing and the enable_rendering_widget_copied() function forging a valid wp_hash integrity attribute before unserialize() is called. This allows unauthenticated attackers to execute arbitrary code on the server. The vulnerability is exploitable without authentication because the plugin's V2 single-event template processes buffered comment HTML via do_blocks(), and WordPress returns a moderation-hash URL that lets unauthenticated commenters view their own pending comments immediately, delivering malicious block markup to the vulnerable code path before moderation.
Potential Impact
Successful exploitation results in remote code execution on the server hosting the vulnerable plugin, with no authentication required. This can lead to full compromise of the affected WordPress site, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 9.8 (critical).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling comments on events or restricting comment functionality to trusted users to mitigate exploitation risk.
CVE-2026-78006: CWE-502 Deserialization of Untrusted Data in stellarwp The Events Calendar
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.
CVSS v3.1
Score 9.8critical
Affected software
stellarwp
The Events Calendar
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-78006 is a critical remote code execution vulnerability in the The Events Calendar WordPress plugin (versions <=6.17.4). It stems from insufficient validation in the is_safe_widget_instance function, which can be bypassed due to PHP firing magic methods during pre-parsing and the enable_rendering_widget_copied() function forging a valid wp_hash integrity attribute before unserialize() is called. This allows unauthenticated attackers to execute arbitrary code on the server. The vulnerability is exploitable without authentication because the plugin's V2 single-event template processes buffered comment HTML via do_blocks(), and WordPress returns a moderation-hash URL that lets unauthenticated commenters view their own pending comments immediately, delivering malicious block markup to the vulnerable code path before moderation.
Potential Impact
Successful exploitation results in remote code execution on the server hosting the vulnerable plugin, with no authentication required. This can lead to full compromise of the affected WordPress site, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 9.8 (critical).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling comments on events or restricting comment functionality to trusted users to mitigate exploitation risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-08-21T21:25:40.295Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa5037555bf5e2cf506c912
Added to database: 09/12/2026, 07:47:01 UTC
Last enriched: 09/12/2026, 08:01:42 UTC
Last updated: 09/13/2026, 03:01:22 UTC
Views: 44
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.