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.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub