Grocery Store Management System CVE-2026-37149
HIGHSeverity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
SQLi via an HTTP-reachable, unauthenticated search parameter justifies AV:N/AC:L/PR:N/UI:N; data read and likely write give C:H/I:H, with no availability impact (A:N).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
4DescriptionCVE.org
GROCERY-STORE-MANAGEMENT-SYSTEM-USING-PHP-AND-MYSQL-PHPMYADMIN v1.0 was discovered to contain a SQL injection vulnerability in the scost parameter in /grocery/search_products.php. This vulnerability allows attackers to access sensitive database information via a crafted SQL statement.
AnalysisAI
SQL injection in the open-source Grocery Store Management System (PHP/MySQL, v1.0 by anirudhkannanvp) lets attackers read arbitrary database contents by injecting a crafted SQL payload through the unsanitized 'scost' parameter of /grocery/search_products.php. The flaw (CWE-89) carries a CVSS of 7.7 and exposes credentials, customer records, and other sensitive data; publicly available exploit code exists in a dedicated GitHub repository, though it is not listed in CISA KEV and its EPSS exploitation probability is low (0.24%, 16th percentile).
Technical ContextAI
The affected application is a PHP web application backed by a MySQL/MariaDB database administered via phpMyAdmin, a common stack for small-business inventory demos and student projects. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the 'scost' request parameter is concatenated directly into a SQL query in the product-search handler (/grocery/search_products.php) without parameterization or input sanitization, allowing the query structure to be altered. Because the search interface typically issues SELECT statements, an attacker can leverage UNION-based or boolean/error-based techniques to exfiltrate data from any table the database user can reach. CPE enrichment is unavailable (the NVD CPE is the placeholder 'cpe:2.3:a:n/a:n/a:*'), so the affected component is identified only from the description and the upstream GitHub project, not from structured product metadata.
RemediationAI
No vendor-released patch identified at time of analysis - the project is an individual GitHub repository with no security advisory or tagged fix. The actionable code-level fix is to rewrite the query in /grocery/search_products.php to use parameterized queries / prepared statements (PDO or mysqli bound parameters) for the 'scost' value, and to apply server-side input validation; the OWASP guidance referenced in the CVE (https://owasp.org/www-community/attacks/SQL_Injection) describes the technique. Until the code is fixed, restrict network exposure of the application (place it behind authentication or a VPN, or remove it from internet-facing hosts), deploy a WAF rule to block SQL metacharacters on the 'scost' parameter (trade-off: regex-based WAF rules can be bypassed and may break legitimate searches containing quotes), and run the application's MySQL account with least privilege limited to the specific tables required (trade-off: does not stop disclosure of in-scope tables). Given the project's status, migrating away from this unmaintained application is the most durable remediation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today