CVE-2026-104798
JSON

9.8critical

My Calendar <= 3.8.7 - Unauthenticated Privilege Escalation to 'mcs' Parameter via Reflected Shortcode Injection into 'above' Attribute

Severity
9.8critical CVSS:3.1 by Wordfence
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
joedolson My Calendar – Accessible Event Managerup to 3.4.24, from 3.5 up to 3.5.21, from 3.6 up to 3.6.17, from 3.7 up to 3.7.17, from 3.8 up to 3.8.7CVE List

Classification

CWE-269

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-104798 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-104798 changed 2026-10-16Public domain