My Calendar <= 3.8.7 - Unauthenticated Privilege Escalation to 'mcs' Parameter via Reflected Shortcode Injection into 'above' Attribute
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.
CVE-2026-104798
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-104798
My Calendar – Accessible Event Manager
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "joedolson",
"product": "My Calendar – Accessible Event Manager",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "3.4.24"
},
{
"status": "affected",
"version": "3.5",
"versionType": "semver",
"lessThanOrEqual": "3.5.21"
},
{
"status": "affected",
"version": "3.6",
"versionType": "semver",
"lessThanOrEqual": "3.6.17"
},
{
"status": "affected",
"version": "3.7",
"versionType": "semver",
"lessThanOrEqual": "3.7.17"
},
{
"status": "affected",
"version": "3.8",
"versionType": "semver",
"lessThanOrEqual": "3.8.7"
}
],
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-104798
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #32763 · Revision 1
- Added to Heist Feed
- Publisher date