# My Calendar – Accessible Event Manager <= 3.8.13 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'template' Shortcode Attribute

- **ID:** WPSEC-2026-3197
- **Plugin:** My Calendar – Accessible Event Manager (`my-calendar`), https://wordpress.org/plugins/my-calendar/
- **Affected versions:** from 3.6.0 before 3.8.14
- **Fixed in:** 3.8.14 (Update to 3.8.14 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/my-calendar
- **Fix released:** 2026-11-15
- **Published:** 2026-11-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3197/

## Description

The My Calendar plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'template' attribute of the upcoming events and today's events shortcodes in all versions up to, and including, 3.8.13. This is due to insufficient input sanitization and output escaping: the template value is placed unescaped into an HTML class attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3197/
- https://plugins.svn.wordpress.org/my-calendar/tags/3.8.14/
- https://wordpress.org/plugins/my-calendar/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3197/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
