Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-na
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-na
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-ou
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-se
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-se
- https://plugins.trac.wordpress.org/browser/my-calendar/tags/3.8.6/my-calendar-sh
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3746389%40my-calendar
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e8aa6ee7-525e-4458-9f5
FAQ
What is CVE-2026-104798?
CVE-2026-104798 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2026-104798?
CVE-2026-104798 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-104798?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.