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

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

0
Medium
VulnerabilityCVE-2026-7087cvecve-2026-7087
Published: Mon Apr 27 2026 (04/27/2026, 04:30:13 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Pharmacy Sales and Inventory System

Description

A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /ajax.php?action=save_sales. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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:N/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/05/2026, 02:24:24 UTC

Technical Analysis

This vulnerability involves an SQL injection in the SourceCodester Pharmacy Sales and Inventory System 1.0. Specifically, the issue is in the /ajax.php?action=save_sales file where the ID argument can be manipulated to inject SQL commands. The attack vector is network accessible without authentication or user interaction, and the vulnerability has a CVSS 4.0 base score of 6.9, indicating medium severity. No official fix or patch is currently documented, and the exploit code has been publicly released.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary SQL commands on the backend database via the ID parameter in the save_sales action. This can lead to unauthorized data access, modification, or deletion within the affected system. The vulnerability does not require privileges or user interaction, increasing its risk. However, the impact is rated medium due to limited information on the extent of data exposure or system compromise.

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 parameterized queries on the affected endpoint to mitigate SQL injection risks. Monitoring for unusual database activity and restricting access to the vulnerable endpoint may also reduce exposure.

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-26T08:20:53.860Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69eef45eba26a39fbaf26dcc

Added to database: 4/27/2026, 5:30:06 AM

Last enriched: 5/5/2026, 2:24:24 AM

Last updated: 6/11/2026, 9:19:58 AM

Views: 67

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