Description
A vulnerability has been found in SourceCodester Sales and Inventory System 1.0. Affected by this issue is some unknown functionality of the file dashboard.php of the component Search. The manipulation of the argument searchtxt leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.
Published: 2026-03-09
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection
Action: Apply Patch
AI Analysis

Impact

A flaw in SourceCodester Sales and Inventory System 1.0 allows an attacker to supply a crafted value in the searchtxt parameter of dashboard.php, resulting in an unsanitized SQL query. This classic SQL injection can expose, alter, or delete data in the underlying database. Because the injection can be triggered by a simple web request, an attacker can read, modify, or delete confidential sales and inventory records.

Affected Systems

The vulnerability exists only in SourceCodester Sales and Inventory System version 1.0, specifically in the Search component accessed via dashboard.php. No other vendors or product versions are listed as affected.

Risk and Exploitability

The severity score of 5.3 indicates moderate risk, and the estimated exploit probability is below one percent. No confirmed public exploits have been reported, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog. The likely attack path is remote over HTTP/HTTPS, where a crafted searchtxt value can be sent without authentication, enabling unauthorized data access or manipulation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy any vendor patch or updated version where the search parameter is securely handled or use prepared statements; if no patch is available, consider disabling the search functionality until a fix is released.
  • Apply strict input validation to the searchtxt field, allowing only expected characters and limiting length to prevent injection.
  • Configure the application's database account with the least privileges necessary – for example, grant only read access where write is not required, and enforce strong authentication controls for dashboard access.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 10 Mar 2026 14: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

Mon, 09 Mar 2026 15:15: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 01:00:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Sales and Inventory System 1.0. Affected by this issue is some unknown functionality of the file dashboard.php of the component Search. The manipulation of the argument searchtxt leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Sales and Inventory System Search dashboard.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-10T16:13:33.120Z

Reserved: 2026-03-08T07:23:59.121Z

Link: CVE-2026-3791

cve-icon Vulnrichment

Updated: 2026-03-10T16:13:26.043Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-09T01:15:47.383

Modified: 2026-03-09T15:04:31.413

Link: CVE-2026-3791

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses