CVE-2026-133402: Events Manager <= 7.7.1 - Unauthenticated Stored Cross-Site Scripting via '#_CONTACTNAME', '#_CONTACTPHONE' and '#_CONTACTMETA' Contact Placeholders
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 EMEvent::output() placeholder renderer in classes/em-event.php substituting the event owner's displayname, dbemphone user meta, and non-protected user meta directly into admin-authored event templates via strreplace() with no context-aware escaping (no escattr()/eschtml()). This makes it possible for authenticated attackers, with contributor-level access and above (any role granted the default 'editevents' 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 dbemeventsanonymoussubmissions is enabled AND dbemeventsanonymoususer is configured. On a default installation, where that is not configured, the vulnerability requires attackers with custom-level access and above.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this in a default installation?
On a default installation, exploitation requires an authenticated attacker with contributor-level access or another role granted the edit_events capability. The attacker must own an approved event.
Can an unauthenticated attacker exploit this issue?
Yes, but only if anonymous event submissions are enabled through dbem_events_anonymous_submissions and dbem_events_anonymous_user is configured. Those conditions are not present in the default configuration.
What site configuration is required for the injected script to execute?
An administrator must have placed #_CONTACTNAME, #_CONTACTPHONE, or #_CONTACTMETA in an HTML attribute context within an event template. The script executes when a user visits an event-listing page that renders the affected placeholder.
Which attacker-controlled values are involved?
The affected placeholders render the event owner’s display name, dbem_phone user meta, and non-protected user meta without context-aware escaping. An attacker able to control those values can inject script content through the corresponding placeholder.