Summary
CVE-2026-104798 is a critical (CVSS 9.8) unauthenticated privilege escalation vulnerability in the My Calendar plugin for WordPress. Unauthenticated attackers can inject shortcodes through the mcs parameter, which can lead to arbitrary PHP function invocation and takeover of the WordPress site.
Technical details
- Root cause: The
mcsrequest parameter is reflected into theaboveattribute of a shortcode without proper sanitization and without authorization checks (CWE-269, Improper Privilege Management). The affected code is in the plugin’s navigation, search, shortcodes and output files. - Trigger conditions: An attacker sends a crafted request containing a nested shortcode in the
mcsparameter. No authentication or user interaction is required. - Attack vector: Network, low complexity, no privileges required.
- Impact: Arbitrary PHP function invocation. This can potentially overwrite administrator credentials and grant wp-admin access, which compromises confidentiality, integrity and availability.
Affected software
- My Calendar plugin for WordPress, all versions through 3.8.7, specifically:
- 3.4.24 and earlier
- 3.5.0 to 3.5.21
- 3.6.0 to 3.6.17
- 3.7.0 to 3.7.17
- 3.8.0 to 3.8.7
Severity
CVSS v3.1 base score 9.8 (Critical): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not list a fixed version. Check the plugin’s WordPress.org page and the Wordfence advisory for a patched release, and upgrade as soon as one is available.
- If no patch is available: Deactivate and remove the My Calendar plugin, or restrict access to pages that render it. Consider blocking or filtering requests that carry the
mcsparameter at a WAF or reverse proxy. Review administrator accounts and credentials for unexpected changes.

