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 WP-Forum Multiple SQL Injection Vulnerabilities (1.7.8)
WordPress Plugin Viral Quiz Maker-OnionBuzz SQL Injection (1.2.1)
WordPress Plugin Timeline Calendar SQL Injection (1.2)
WordPress Plugin Yoast SEO SQL Injection (1.7.3.3)
WordPress Plugin Yasr-Yet Another Stars Rating SQL Injection (0.9.0)