# Events Manager <= 7.8 - Unauthenticated Arbitrary Shortcode Execution via Booking Form Fields

- **ID:** WPSEC-2026-4696
- **Plugin:** Events Manager – Calendar, Bookings, Tickets, Appointments and more! (`events-manager`), https://wordpress.org/plugins/events-manager/
- **Affected versions:** all versions before 7.9
- **Fixed in:** 7.9 (Update to 7.9 or later.)
- **Severity:** Medium 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/events-manager
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4696/

## Description

The Events Manager plugin for WordPress is vulnerable to arbitrary shortcode execution via the 'user_name', 'dbem_phone', 'user_email' and 'booking_comment' booking form fields in all versions up to, and including, 7.8, due to the default booking form template printing these request values back into the form with only esc_attr(), which leaves square brackets intact. Because the form is built inside the event page's the_content filter, which runs before do_shortcode(), the values are parsed as shortcodes. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.

## References

- https://wpsec.com/vuln/WPSEC-2026-4696/
- https://plugins.svn.wordpress.org/events-manager/tags/7.9/
- https://wordpress.org/plugins/events-manager/

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

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.
