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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N · Attack vector: NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.