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 WordPress Automatic SQL Injection (3.92.0)
WordPress Plugin WP Fastest Cache SQL Injection (0.8.4.8)
WordPress Plugin WP DS FAQ 'ajax.php' SQL Injection (1.3.2)
WordPress 4.6.x Possible SQL Injection Vulnerability (4.6 - 4.6.7)
WordPress Plugin UPM Polls 'PID' Parameter SQL Injection (1.0.4)