CVE-2026-7194
Received Received - Intake
SQL Injection in SourceCodester Pharmacy System Allows Remote Exploit

Publication date: 2026-04-27

Last updated on: 2026-04-29

Assigner: VulDB

Description
A weakness has been identified in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts an unknown function of the file /ajax.php?action=save_product. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-27
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-04-28
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester pharmacy_sales_and_inventory_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart