CVE-2026-131646: Events Manager <= 7.7.1 - Unauthenticated Stored Cross-Site Scripting via 'event_name' Parameter
The Events Manager – Calendar, Bookings, Tickets, Appointments and more plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'eventname' parameter in versions up to, and including, 7.7.1 This is due to insufficient output escaping of user-supplied titles combined with EMEvent::output() being applied to stored titles via the thetitle filter: sanitizepostfield('posttitle', …, 'db') runs wpfilterpostkses which permits <a title="…"> in post titles, so a crafted title containing two <a title="…"> anchors wrapping a false {ispast}…{/ispast} conditional survives KSES as benign markup; at render time EMEvent::output() strreplace()'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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated exploitation?
Deployments using Events Manager version 7.7.1 or earlier are exposed when the plugin's "Anonymous event submissions" option is enabled. The provided information does not state whether this option is enabled by default.
What does an attacker need to exploit this issue?
An attacker does not need authentication, but must be able to submit an event through anonymous event submissions. They can supply a crafted event name that is stored and later rendered by the plugin.
When does the injected script execute?
The script executes when a user accesses a page that renders the injected event content. The issue can affect confidentiality and integrity in the context of the user viewing that page.
What can be done if updating is not immediately possible?
Disable the Events Manager "Anonymous event submissions" option to remove the unauthenticated submission path described for this issue. Review event titles submitted while that option was enabled for crafted markup.