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-7128: SQL Injection in SourceCodester Pharmacy Sales and Inventory System

0
Medium
VulnerabilityCVE-2026-7128cvecve-2026-7128
Published: Mon Apr 27 2026 (04/27/2026, 13:30:12 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: 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

AILast updated: 04/27/2026, 14:30:26 UTC

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.

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