# Event Tickets and Registration <= 5.31.1.1 - Unauthenticated Arbitrary Shortcode Execution via Attendee Name

- **ID:** WPSEC-2026-4034
- **Plugin:** Event Tickets and Registration (`event-tickets`), https://wordpress.org/plugins/event-tickets/
- **Affected versions:** from 4.9 before 5.31.2
- **Fixed in:** 5.31.2 (Update to 5.31.2 or later.)
- **Severity:** Medium 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/event-tickets
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4034/

## Description

The Event Tickets and Registration plugin for WordPress is vulnerable to arbitrary shortcode execution via attendee names in versions 4.9 up to, and including, 5.31.1.1. This is due to visitor-supplied attendee names being printed by the Attendees List block into post content before do_shortcode() runs on it, without neutralizing square brackets. This makes it possible for unauthenticated attackers to submit an RSVP or ticket with a name containing a shortcode, which is executed when the event's public attendee list is displayed.

## References

- https://wpsec.com/vuln/WPSEC-2026-4034/
- https://plugins.svn.wordpress.org/event-tickets/tags/5.31.2/
- https://wordpress.org/plugins/event-tickets/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4034/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
