Vulnerability in Events Manager – Calendar, Bookings, Tickets, and more! — CVE-2026-133402
What to do now
Update Events Manager – Calendar, Bookings, Tickets, and more! to 7.8 or later.
Affected versions
- Everything up to and including 7.7.1
Affected: Events Manager – Calendar, Bookings, Tickets, and more! (plugin, events-manager)
What the vulnerability is
The Events Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '#_CONTACTNAME', '#_CONTACTPHONE' and '#_CONTACTMETA' contact placeholders in versions up to, and including, 7.7.1 This is due to the EM_Event::output() placeholder renderer in classes/em-event.php substituting the event owner's display_name, dbem_phone user meta, and non-protected user meta directly into admin-authored event templates via str_replace() with no context-aware escaping (no esc_attr()/esc_html()). This makes it possible for authenticated attackers, with contributor-level access and above (any role granted the default 'edit_events' capability) who own an approved event, to inject arbitrary web scripts in pages that will execute whenever a user accesses an event-listing page where an administrator has placed one of these placeholders inside an HTML attribute context. Exploitation by unauthenticated attackers requires that dbem_events_anonymous_submissions is enabled AND dbem_events_anonymous_user is configured. On a default installation, where that is not configured, the vulnerability requires attackers with custom-level access and above.
Sources
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L3566
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L3582
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L3598
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L3764
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-person.php#L29
- https://plugins.trac.wordpress.org/changeset?old_path=/events-manager/tags/7.7.1&new_path=/events-manager/tags/7.8