The issue arises from insufficient escaping on the user-supplied `search params` parameter and a lack of sufficient preparation on the existing SQL query. This allows unauthenticated attackers to append additional SQL queries to existing ones, potentially extracting sensitive information from the database. The vulnerability can be exploited via CSRF due to a lack of nonce validation on the `get table records` AJAX action.