CVE-2026-7391: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-7391 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. It affects the save_supplier function in the /ajax. php? action=save_supplier endpoint. The vulnerability arises from improper handling of the ID argument, allowing remote attackers to perform SQL injection. Exploit code has been published, but there are no known exploits in the wild yet. No official patch or remediation guidance has been provided by the vendor as of the publication date.
AI Analysis
Technical Summary
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to inject SQL commands via the ID parameter in the save_supplier function of /ajax.php?action=save_supplier. The flaw enables unauthorized manipulation of the backend database. The CVSS 4.0 base score is 5.3 (medium), reflecting network attack vector, low complexity, no privileges required, and no user interaction needed. The vulnerability is publicly disclosed with exploit code available, but no official fix or mitigation has been documented.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is limited by the medium severity score and the requirement of low privileges. There is no indication of system compromise beyond database manipulation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the vulnerable endpoint and validate or sanitize inputs to the save_supplier function to mitigate SQL injection risks.
CVE-2026-7391: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
Description
CVE-2026-7391 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. It affects the save_supplier function in the /ajax. php? action=save_supplier endpoint. The vulnerability arises from improper handling of the ID argument, allowing remote attackers to perform SQL injection. Exploit code has been published, but there are no known exploits in the wild yet. No official patch or remediation guidance has been provided by the vendor as of the publication date.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to inject SQL commands via the ID parameter in the save_supplier function of /ajax.php?action=save_supplier. The flaw enables unauthorized manipulation of the backend database. The CVSS 4.0 base score is 5.3 (medium), reflecting network attack vector, low complexity, no privileges required, and no user interaction needed. The vulnerability is publicly disclosed with exploit code available, but no official fix or mitigation has been documented.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is limited by the medium severity score and the requirement of low privileges. There is no indication of system compromise beyond database manipulation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the vulnerable endpoint and validate or sanitize inputs to the save_supplier function to mitigate SQL injection risks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-29T09:37:19.401Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f2370ccbff5d861030647e
Added to database: 4/29/2026, 4:51:24 PM
Last enriched: 4/29/2026, 5:06:28 PM
Last updated: 4/29/2026, 7:28:18 PM
Views: 3
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.