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 mysqli_query($db, "DELETE FROM product WHERE product_id=" . $_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).
| CWE | CWE-89 |
| Vendor | harsh21patel |
| Product | inventory-management-system-php |
| Published | Aug 5, 2026 |
| Last Updated | Aug 5, 2026 |
Get instant alerts for harsh21patel inventory-management-system-php
Be the first to know when new critical vulnerabilities affecting harsh21patel inventory-management-system-php are published โ delivered to Slack, Telegram or Discord.
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H