SQL Injection
Direct SQL Command Injection is a technique where an attacker creates or alters existing SQL commands to expose hidden data, or to override valuable ones, or even to execute dangerous system level commands on the database host. This is accomplished by the application taking user input and combining it with static parameters to build an SQL query. The following examples are based on true stories, unfortunately.
Owing to the lack of input validation and connecting to the database on behalf of a superuser or the one who can create users, the attacker may create a superuser in your database.
More info: <a href="https://www.php.net/manual/en/security.database.sql-injection.php" target="_blank" rel="nofollow noopener noreferrer">PHP: SQL Injection - Manual</a>
Better Article: #-Link-Snipped-#