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
Prevent SQL injection vulnerabilities in PHP applications and fix them
Related Vulnerabilities
WordPress Plugin Ajax Store Locator SQL Injection (1.2.0)
WordPress Plugin Survey Maker-Best WordPress Survey SQL Injection (1.5.5)
Drupal Core 4.6.x SQL Injection (4.6.0 - 4.6.6)
WordPress Plugin YARPP-Yet Another Related Posts SQL Injection (5.30.2)
WordPress Plugin Advertizer 'id' Parameter SQL Injection (1.0)