Description
A vulnerability was identified in SourceCodester Sales and Inventory System up to 1.0. Affected is an unknown function of the file /check_item_details.php. The manipulation of the argument stock_name1 leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.
Published: 2026-03-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection
Action: Assess Impact
AI Analysis

Impact

The SourceCodester Sales and Inventory System is vulnerable to an SQL injection in the check_item_details.php script. By manipulating the stock_name1 parameter, an attacker can inject arbitrary SQL commands. This weakness aligns with CWE‑89 (Improper Neutralization of Special Elements used in an SQL Command) and also involves CWE‑74 (Improper Neutralization of Special Elements in Filters). The flaw can be triggered remotely and the exploit is publicly available. If successful, the attacker could read, modify, or delete data in the underlying database, thereby compromising confidentiality, integrity, and availability.

Affected Systems

SourceCodester Sales and Inventory System version 1.0 and all earlier releases are affected. The vulnerability exists in the function that processes the stock_name1 argument within check_item_details.php.

Risk and Exploitability

The flaw has a CVSS score of 5.3, indicating a moderate impact. The EPSS score is less than 1%, suggesting that exploitation is unlikely but still possible. It is not listed in the CISA Known Exploit Vulnerabilities catalog. Based on the description, the likely attack vector is remote, with the attacker able to inject SQL through the stock_name1 parameter.

Generated by OpenCVE AI on April 17, 2026 at 11:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor's latest update for the Sales and Inventory System when one becomes available.
  • Modify the application to use prepared statements or parameterized queries for any database access that incorporates user-supplied values, especially for the stock_name1 parameter.
  • Validate or sanitize the stock_name1 input to restrict it to allowed characters before it is used in an SQL statement.
  • If a patch is not available, restrict access to the check_item_details.php endpoint to authenticated users only, and consider blocking the endpoint at the firewall level.

Generated by OpenCVE AI on April 17, 2026 at 11:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 11 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 09 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Ahsanriaz26gmailcom
Ahsanriaz26gmailcom sales And Inventory System
CPEs cpe:2.3:a:ahsanriaz26gmailcom:sales_and_inventory_system:1.0:*:*:*:*:*:*:*
Vendors & Products Ahsanriaz26gmailcom
Ahsanriaz26gmailcom sales And Inventory System

Mon, 09 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester sales And Inventory System
Vendors & Products Sourcecodester
Sourcecodester sales And Inventory System

Sun, 08 Mar 2026 17:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in SourceCodester Sales and Inventory System up to 1.0. Affected is an unknown function of the file /check_item_details.php. The manipulation of the argument stock_name1 leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.
Title SourceCodester Sales and Inventory System check_item_details.php sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Ahsanriaz26gmailcom Sales And Inventory System
Sourcecodester Sales And Inventory System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-03-11T19:31:40.284Z

Reserved: 2026-03-07T20:30:04.154Z

Link: CVE-2026-3756

cve-icon Vulnrichment

Updated: 2026-03-11T19:31:37.502Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-08T18:15:49.753

Modified: 2026-03-09T15:15:43.380

Link: CVE-2026-3756

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T12:00:11Z

Weaknesses