Skip to main content

Grocery Store Management System CVE-2026-37149

HIGH
SQL Injection (CWE-89)
2026-06-25 mitre
7.7
CVSS 3.1 · Vendor: mitre
Share

Severity by source

Vendor (mitre) PRIMARY
7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
9.1 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Generated
Jun 26, 2026 - 15:23 vuln.today
CVSS changed
Jun 26, 2026 - 15:22 NVD
7.7 (HIGH)
CVE Published
Jun 25, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 00:00 cve.org
HIGH 7.7

DescriptionCVE.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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-37149 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy