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

CVE-2026-7087 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. The flaw exists in the /ajax. php? action=save_sales endpoint where manipulation of the ID parameter allows remote attackers to perform SQL injection. The vulnerability has a CVSS 4. 0 base score of 6. 9, indicating a moderate risk. No official patch or remediation guidance is currently available from the vendor. Exploit code has been publicly released, increasing the risk of exploitation.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/27/2026, 05:45:19 UTC

Technical Analysis

This vulnerability involves an SQL injection in the SourceCodester Pharmacy Sales and Inventory System 1.0, specifically in the /ajax.php?action=save_sales file. By manipulating the ID argument, an attacker can inject SQL commands remotely without authentication or user interaction. The CVSS 4.0 vector indicates network attack vector, low complexity, no privileges required, no user interaction, and low to low impact on confidentiality, integrity, and availability. The vulnerability is publicly disclosed with exploit code available, but no official patch or fix has been provided by the vendor as of the publication date.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access, modification, or deletion. Given the affected system manages pharmacy sales and inventory, this could impact data integrity and confidentiality related to sales records and inventory management. The CVSS score of 6.9 reflects a medium severity impact with potential partial loss of confidentiality, integrity, and availability.

Mitigation Recommendations

No official patch or remediation has been released by the vendor at this time. Users should monitor the vendor's advisory channels for updates. Until a fix is available, consider implementing web application firewall (WAF) rules to detect and block SQL injection attempts targeting the /ajax.php?action=save_sales endpoint. Additionally, review and restrict access to the affected system to trusted networks and users to reduce exposure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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: 4/27/2026, 5:45:19 AM

Last updated: 4/27/2026, 6:43:26 AM

Views: 4

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