CVE-2026-78006CWE-502insecure-deserialization

CVE-2026-78006

Critical · published September 12, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
73.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01470 · 73.6th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2026-09-12T12:16Z
References (7)
EPSS history
Timeline
  • 13 SEP 03:23Z
    EPSS moved — → 1%
    epss
  • 12 SEP 07:39Z
    The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution
    cvelistv5