Description
SQL injection (SQLi) refers to an injection attack wherein an attacker can execute malicious SQL statements that control a web application's database server.
Remediation
Use parameterized queries when dealing with SQL queries that contain user input. Parameterized queries allow the database to understand which parts of the SQL query should be considered as user input, therefore solving SQL injection.
References
SQL Injection (SQLi) - Acunetix
Types of SQL Injection (SQLi) - Acunetix
Prevent SQL injection vulnerabilities in PHP applications and fix them - Acunetix
Related Vulnerabilities
WordPress Plugin Zero Spam SQL Injection (2.1.2)
WordPress Plugin WP-Polls SQL Injection (2.61)
WordPress Possible SQL Injection Vulnerability (0.70 - 3.6.1)
WordPress Plugin Media Library Assistant SQL Injection (2.84)
WordPress Plugin The Crawl Rate Tracker 'sbtracking-chart-data.php' SQL Injection (2.0.2)