CVE-2026-71248: Inventory-Management-System-PHP: Unauthenticated SQL Injection in Login and Product Deletion
Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: $sql = "select from user where email = '$email' and password = '$password'", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -. Separately, delete.php executes mysqliquery($db, "DELETE FROM product WHERE productid=" . $GET['id']) with no authentication check and no validation of the id parameter, allowing an unauthenticated attacker to delete arbitrary product rows or perform blind SQL injection via payloads such as id=0 OR SLEEP(5).
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-71248?
The severity of CVE-2026-71248 is critical with a CVSS score of 9.8.
How do I fix CVE-2026-71248?
To fix CVE-2026-71248, you should parameterize SQL queries and use prepared statements to prevent SQL injection.
What kind of vulnerability is CVE-2026-71248?
CVE-2026-71248 is an unauthenticated SQL injection vulnerability.
What software is affected by CVE-2026-71248?
CVE-2026-71248 affects the Inventory-Management-System-PHP software.
What are the potential impacts of CVE-2026-71248?
The potential impacts of CVE-2026-71248 include authentication bypass and unauthorized data access.