CVE-2026-104798 My Calendar <= 3.8.7 - Unauthenticated Privilege Escalation to 'mcs' Parameter via Reflected Shortcode Injection into 'above' Attribute
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| joedolson My Calendar – Accessible Event Manager | <= 3.4.24; >= 3.5, <= 3.5.21; >= 3.6, <= 3.6.17; >= 3.7, <= 3.7.17 +1 more | after 3.4.24, 3.5.21, 3.6.17, 3.7.17, 3.8.7 | Fixed |
| wordpress my-calendar(WordPress) | < 3.4.25; >= 3.5, < 3.5.22; >= 3.6, < 3.6.18; >= 3.7, < 3.7.18 +1 more | 3.4.25, 3.5.22, 3.6.18, 3.7.18, 3.8.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| joedolson My Calendar – Accessible Event Manager | <= 3.4.24 | No fix listed |
| joedolson My Calendar – Accessible Event Manager | >= 3.5, <= 3.5.21 | No fix listed |
| joedolson My Calendar – Accessible Event Manager | >= 3.6, <= 3.6.17 | No fix listed |
| joedolson My Calendar – Accessible Event Manager | >= 3.7, <= 3.7.17 | No fix listed |
| joedolson My Calendar – Accessible Event Manager | >= 3.8, <= 3.8.7 | No fix listed |
| wordpress my-calendar(WordPress) | < 3.4.25 | 3.4.25 |
| wordpress my-calendar(WordPress) | >= 3.5, < 3.5.22 | 3.5.22 |
| wordpress my-calendar(WordPress) | >= 3.6, < 3.6.18 | 3.6.18 |
| wordpress my-calendar(WordPress) | >= 3.7, < 3.7.18 | 3.7.18 |
| wordpress my-calendar(WordPress) | >= 3.8, < 3.8.8 | 3.8.8 |