CVE-2026-7194
SQL Injection in SourceCodester Pharmacy System Allows Remote Exploit
Publication date: 2026-04-27
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 |
|---|---|---|
| sourcecodester | pharmacy_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
Can you explain this vulnerability to me?
This vulnerability is a SQL injection weakness found in the SourceCodester Pharmacy Sales and Inventory System 1.0. It occurs in the file /ajax.php with the action save_product, where manipulation of the argument ID allows an attacker to inject malicious SQL code.
The attack can be performed remotely, meaning an attacker does not need physical access to the system to exploit this vulnerability.
The exploit code for this vulnerability has been made publicly available, increasing the risk of attacks.
How can this vulnerability impact me? :
Exploitation of this SQL injection vulnerability can lead to unauthorized access to the database, allowing attackers to view, modify, or delete sensitive data.
Since the vulnerability allows remote attacks without authentication, it increases the risk of data breaches and system compromise.
The impact includes potential loss of confidentiality, integrity, and availability of the affected system's data.