The issue arises from the improper sanitization or escaping of certain POST parameters from the `astra pagination infinite` and `astra shop pagination infinite` AJAX actions, which are accessible to both unauthenticated and authenticated users. This leads to SQL injection issues when these parameters are used in SQL statements.