Skip to main content
EPSS 0.8%top 46%

CVE-2026-78006: CWE-502 Deserialization of Untrusted Data in stellarwp The Events Calendar

0
Critical
VulnerabilityCVE-2026-78006cvecve-2026-78006cwe-502
Published: 09/12/2026 (09/12/2026, 07:39:15 UTC)
Source: CVE Database V5
Vendor/Project: stellarwp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

stellarwp

The Events Calendar

Affected versions
>=0 <=6.17.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 08:01:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses