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… (CVE-2026-78006)
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
The Events Calendar plugin for WordPress is vulnerable to remote code execution in all versions up to and including 6.17.4 due to insufficient protection in the is_safe_widget_instance function. Attackers can bypass security checks because PHP executes magic methods during pre-parsing, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. 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 runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that lets unauthenticated commenters immediately view their own pending comments, delivering the injected block markup to the vulnerable code path before moderation.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the server hosting the WordPress site using The Events Calendar plugin. This can lead to full system compromise, data theft, or service disruption. The CVSS score of 9.8 reflects critical impact with high confidentiality, integrity, and availability consequences.
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 to prevent exploitation, as the vulnerability requires comments to be enabled and visible. Monitor vendor channels for updates and apply patches promptly once released.
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… (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.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Events Calendar plugin for WordPress is vulnerable to remote code execution in all versions up to and including 6.17.4 due to insufficient protection in the is_safe_widget_instance function. Attackers can bypass security checks because PHP executes magic methods during pre-parsing, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. 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 runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that lets unauthenticated commenters immediately view their own pending comments, delivering the injected block markup to the vulnerable code path before moderation.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the server hosting the WordPress site using The Events Calendar plugin. This can lead to full system compromise, data theft, or service disruption. The CVSS score of 9.8 reflects critical impact with high confidentiality, integrity, and availability consequences.
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 to prevent exploitation, as the vulnerability requires comments to be enabled and visible. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4q25-cq4p-f83q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-78006"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa5f00555bf5e2cf5ef7ce0
Added to database: 09/13/2026, 00:36:21 UTC
Last enriched: 09/13/2026, 00:40:04 UTC
Last updated: 09/13/2026, 04:01:22 UTC
Views: 22
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.