An unauthenticated SQL injection exists in the event registration process. The issue occurs because the `event id` submitted via the public registration form is not cast to an integer before being included in an SQL query for the registration's custom fields. This flaw can expose database data and was exploited in real-world incidents before a fix was available.