CVE Catalog

CVE-2026-104798

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

The My Calendar – Accessible Event Manager plugin for WordPress (versions up to and including 3.8.7) is vulnerable to privilege escalation. The mcs parameter is reflected unsanitized, allowing an unauthenticated attacker to inject a nested [my_calendar above=...] shortcode, which then calls arbitrary PHP functions via call_user_func(), including edit_user(), leading to administrator account takeover.

Risk Assessment

An unauthenticated attacker can take over the administrator account (ID 1) and gain full wp-admin access. The vulnerability is easily reachable via the publicly accessible /my-calendar/ page.

Recommendation

Immediately update the My Calendar plugin to a version later than 3.8.7. If not possible, disable the plugin until a fix is released.

Other vulnerabilities in My Calendar

See all
Original NVD description (English source)

The My Calendar – Accessible Event Manager plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.8.7. The public `mcs` GET parameter is reflected into post content unsanitized before WordPress core's `do_shortcode` filter runs, allowing an unauthenticated attacker to inject a nested `[my_calendar above=...]` shortcode; `mc_generate_calendar_nav()` then splits the `above` attribute on commas and dispatches each element via `call_user_func()` with no authentication, authorization, or callable allowlist check. This makes it possible for unauthenticated attackers to invoke arbitrary loaded PHP functions, enabling a call chain in which the shortcode `$params` array is passed to `edit_user()` — which PHP coerces to integer `1` as the `$user_id` argument — overwriting the credentials of the initial Administrator account (user ID 1) and granting the attacker full wp-admin access. Exploitation is trivially reachable via the plugin's auto-generated `/my-calendar/` page, which is publicly accessible by default upon plugin activation.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS