The Events Calendar <= 6.18.4 - Unauthenticated Arbitrary Shortcode Execution via Single Event Block
- ID
- WPSEC-2026-3576
- Plugin
- The Events Calendar (the-events-calendar)
- Affected
- from 6.2.7 before 6.18.4.1
- Remediation
- Update to 6.18.4.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weakness
- CWE-94
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-11-20
- Attack surface
- The Events Calendar on WPSec AttackSurface
- Fix released
- Published
Description
The The Events Calendar plugin for WordPress is vulnerable to arbitrary shortcode execution via the Single Event block in all versions from 6.2.7 up to, and including, 6.18.4. This is due to the block returning full calendar view HTML, which contains request-supplied values such as the search keyword, without neutralizing shortcodes, so when the block is placed in post content the shortcodes are executed by the later do_shortcode() pass of the_content. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on pages where the Single Event block is rendered in post content.
References
- https://wpsec.com/vuln/WPSEC-2026-3576/
- https://plugins.svn.wordpress.org/the-events-calendar/tags/6.18.4.1/
- https://wordpress.org/plugins/the-events-calendar/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS