An unauthenticated SQL injection exists on the front end of sites using the element search endpoint. The issue occurs because the `attribute` parameter is concatenated into the query without sanitization. When using MySQL or MariaDB with emulated prepares, this allows stacked query execution, granting unauthenticated read and write access to the application database. This can be used to escalate privileges to an administrator by modifying the admin flag for a user or overwriting password hashes.