The issue arises when sorting by attributes on a dashboard, where the `direction` parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the `direction` parameter and bypass ActiveRecord SQL protections. To exploit this, access to the Administrate dashboards is needed, which is typically expected to be behind authentication.