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…
EPSS 0.0%top 89%

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. 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Affected software

Affected versions
=1.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 02:19:20 UTC

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.

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: 5/7/2026, 2:19:20 AM

Last updated: 6/13/2026, 11:28:28 AM

Views: 60

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