Vulnerability in Events Manager – Calendar, Bookings, Tickets, and more! — CVE-2026-131646
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 – Calendar, Bookings, Tickets, Appointments and more plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'event_name' parameter in versions up to, and including, 7.7.1 This is due to insufficient output escaping of user-supplied titles combined with EM_Event::output() being applied to stored titles via the the_title filter: sanitize_post_field('post_title', …, 'db') runs wp_filter_post_kses which permits <a title="…"> in post titles, so a crafted title containing two <a title="…"> anchors wrapping a false {is_past}…{/is_past} conditional survives KSES as benign markup; at render time EM_Event::output() str_replace()'s the conditional block to the empty string, bridging the first anchor's open title attribute into the second anchor's attribute content and promoting tokens such as autofocus/onfocus into real attributes of the first <a>. This makes it possible for unauthenticated attackers, when the plugin's 'Anonymous event submissions' option is enabled, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Sources
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L3174
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/classes/em-event.php#L974
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/em-actions.php#L137
- https://plugins.trac.wordpress.org/browser/events-manager/tags/7.5/em-events.php#L327
- https://plugins.trac.wordpress.org/changeset?old_path=/events-manager/tags/7.7.1&new_path=/events-manager/tags/7.8
- https://www.wordfence.com/threat-intel/vulnerabilities/id/77a54c66-53c3-435b-856f-f63d3c9dd3ed?source=cve