Description
A vulnerability has been found in SourceCodester Sales and Inventory System up to 1.0. The impacted element is an unknown function of the file /add_sales_print.php. Such manipulation of the argument sid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Published: 2026-03-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote SQL Injection
Action: Apply Mitigation
AI Analysis

Impact

A vulnerability in SourceCodester Sales and Inventory System up to version 1.0 allows attackers to inject arbitrary SQL by manipulating the 'sid' argument in the /add_sales_print.php file. This SQL injection can compromise data confidentiality by exposing database records and may also lead to integrity impacts if the injection is used to modify or delete data. It does not provide remote code execution but could be used to extract or alter sensitive information.

Affected Systems

The affected product is SourceCodester Sales and Inventory System, version 1.0. The vulnerability is tied to the add_sales_print.php file and affects installations of this version and earlier as listed by the CNA and the CPE string for the product.

Risk and Exploitability

The CVSS base score is 5.3, indicating a moderate severity. The EPSS score is below 1%, suggesting low probability of widespread exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote HTTP request to /add_sales_print.php with a crafted 'sid' parameter, as there is no indication of required authentication or additional prerequisites, so the exploitation path is straightforward for an external attacker.

Generated by OpenCVE AI on April 16, 2026 at 10:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s security patch or update the add_sales_print.php code to use parameterized queries so that the 'sid' value is properly sanitized.
  • Restrict access to the add_sales_print.php endpoint by enforcing authentication and role‑based access control, limiting its use to authorized sales staff only.
  • Deploy or configure a web application firewall to detect and block SQL injection patterns targeting the 'sid' parameter.

Generated by OpenCVE AI on April 16, 2026 at 10:31 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:15:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Sales and Inventory System up to 1.0. The impacted element is an unknown function of the file /add_sales_print.php. Such manipulation of the argument sid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Sales and Inventory System add_sales_print.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:28:23.647Z

Reserved: 2026-03-07T20:29:54.600Z

Link: CVE-2026-3753

cve-icon Vulnrichment

Updated: 2026-03-11T19:28:20.092Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-08T17:16:09.140

Modified: 2026-03-09T15:17:58.360

Link: CVE-2026-3753

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T10:45:26Z

Weaknesses