CVE-2026-4825
SQL Injection in SourceCodester Sales Inventory /update_sales.php
Publication date: 2026-03-25
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ahsanriaz26gmailcom | sales_and_inventory_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability is an SQL injection in the SourceCodester Sales and Inventory System 1.0, which could allow unauthorized access or manipulation of data.
Such vulnerabilities can lead to data breaches or unauthorized data exposure, potentially impacting compliance with data protection regulations like GDPR or HIPAA that require safeguarding personal and sensitive information.
However, specific impacts on compliance cannot be determined from the provided information.
Can you explain this vulnerability to me?
This vulnerability exists in the SourceCodester Sales and Inventory System 1.0, specifically in the /update_sales.php file. It involves the manipulation of the HTTP GET parameter 'sid', which leads to a SQL injection vulnerability. This means an attacker can inject malicious SQL code through the 'sid' parameter to manipulate the database.
The attack can be launched remotely, and the exploit has been made public, increasing the risk of exploitation.
How can this vulnerability impact me? :
The SQL injection vulnerability allows an attacker to manipulate the database by injecting malicious SQL commands. This can lead to unauthorized access to sensitive data, data modification, or deletion.
Since the attack can be performed remotely without user interaction, it increases the risk of data breaches, loss of data integrity, and potential disruption of the sales and inventory system's operations.