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. The flaw exists in the save_supplier function within /ajax.php? action=save_supplier, where manipulation of the ID argument allows remote attackers to perform SQL injection. Exploit code has been published, but there are no known exploits in the wild at this time. No official patch or remediation guidance has been provided by the vendor yet.
AI Analysis
Technical Summary
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. The issue is located in the save_supplier function of the /ajax.php endpoint, where improper validation of the ID parameter leads to SQL injection. This allows remote attackers to manipulate backend database queries by injecting malicious SQL code. The vulnerability has a CVSS 4.0 score of 5.3, indicating a medium severity level. Although an exploit is publicly available, no active exploitation has been reported. No official fix or patch is currently documented.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. Given the medium CVSS score and the lack of known active exploitation, the immediate impact is moderate but could escalate if exploited in the wild.
Mitigation Recommendations
No official patch or remediation is currently available from the vendor. Users should monitor vendor advisories for updates. Until a fix is released, restricting access to the vulnerable endpoint and applying web application firewall (WAF) rules to detect and block SQL injection attempts may help mitigate risk. Avoid exposing the affected system to untrusted networks if possible.
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. The flaw exists in the save_supplier function within /ajax.php? action=save_supplier, where manipulation of the ID argument allows remote attackers to perform SQL injection. Exploit code has been published, but there are no known exploits in the wild at this time. No official patch or remediation guidance has been provided by the vendor yet.
CVSS v4.0
Score 5.3medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. The issue is located in the save_supplier function of the /ajax.php endpoint, where improper validation of the ID parameter leads to SQL injection. This allows remote attackers to manipulate backend database queries by injecting malicious SQL code. The vulnerability has a CVSS 4.0 score of 5.3, indicating a medium severity level. Although an exploit is publicly available, no active exploitation has been reported. No official fix or patch is currently documented.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. Given the medium CVSS score and the lack of known active exploitation, the immediate impact is moderate but could escalate if exploited in the wild.
Mitigation Recommendations
No official patch or remediation is currently available from the vendor. Users should monitor vendor advisories for updates. Until a fix is released, restricting access to the vulnerable endpoint and applying web application firewall (WAF) rules to detect and block SQL injection attempts may help mitigate risk. Avoid exposing the affected system to untrusted networks if possible.
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: 5/7/2026, 2:19:20 AM
Last updated: 6/13/2026, 11:28:28 AM
Views: 60
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.