Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7391: SQL Injection in SourceCodester Pharmacy Sales and Inventory System

0
Medium
VulnerabilityCVE-2026-7391cvecve-2026-7391
Published: Wed Apr 29 2026 (04/29/2026, 16:15:12 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: 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

AILast updated: 04/29/2026, 17:06:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses