https://code-projects.org/online-book-shop-using-php-source-code/
/search_result.php - $s
paremeter.
The SQL Injection vulnerability exists in diretory /search_result.php
where this function query the s parameter into the SQL statement without any restriction, validation or sanitization. An attacker could exploit this vulnerability to get unauthorized access to the server database, or even perform Remote Code Execution (RCE).
require('includes/config.php');
session_start();
$search=$_GET['s'];
$query="select *from book where b_nm like '%$search%'";
$res=mysqli_query($conn,$query) or die("Can't Execute Query...");
?>