CVE-2026-7128: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
A security vulnerability has been detected in SourceCodester Pharmacy Sales and Inventory System 1.0. This issue affects some unknown processing of the file /ajax.php?action=save_type. Such manipulation of the argument ID leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.
AI Analysis
Technical Summary
SourceCodester Pharmacy Sales and Inventory System 1.0 contains a SQL injection vulnerability in the processing of the 'ID' argument within the /ajax.php?action=save_type file. This flaw permits remote attackers to inject malicious SQL code due to insufficient input validation or sanitization. The vulnerability is publicly disclosed with a CVSS 4.0 score of 6.9 (medium severity). No official fix or patch has been published, and the vendor has not provided remediation details. Exploitation could lead to unauthorized data access or modification within the affected system's database.
Potential Impact
Successful exploitation of this SQL injection vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database. This may result in unauthorized data disclosure, data modification, or other database-related impacts depending on the attacker's intent and database privileges. However, no known exploits in the wild have been reported to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to implement input validation and sanitization on the 'ID' parameter in the /ajax.php?action=save_type endpoint to mitigate SQL injection risks. Monitoring for unusual database activity and restricting database permissions may also reduce potential impact.
CVE-2026-7128: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
Description
A security vulnerability has been detected in SourceCodester Pharmacy Sales and Inventory System 1.0. This issue affects some unknown processing of the file /ajax.php?action=save_type. Such manipulation of the argument ID leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SourceCodester Pharmacy Sales and Inventory System 1.0 contains a SQL injection vulnerability in the processing of the 'ID' argument within the /ajax.php?action=save_type file. This flaw permits remote attackers to inject malicious SQL code due to insufficient input validation or sanitization. The vulnerability is publicly disclosed with a CVSS 4.0 score of 6.9 (medium severity). No official fix or patch has been published, and the vendor has not provided remediation details. Exploitation could lead to unauthorized data access or modification within the affected system's database.
Potential Impact
Successful exploitation of this SQL injection vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database. This may result in unauthorized data disclosure, data modification, or other database-related impacts depending on the attacker's intent and database privileges. However, no known exploits in the wild have been reported to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to implement input validation and sanitization on the 'ID' parameter in the /ajax.php?action=save_type endpoint to mitigate SQL injection risks. Monitoring for unusual database activity and restricting database permissions may also reduce potential impact.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-26T19:16:13.483Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ef6f96ba26a39fba2ff977
Added to database: 4/27/2026, 2:15:50 PM
Last enriched: 4/27/2026, 2:30:26 PM
Last updated: 4/27/2026, 4:28:05 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.