CVE-2026-7283: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts the function save_expired of the file /ajax.php?action=save_expired. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
AI Analysis
Technical Summary
SourceCodester Pharmacy Sales and Inventory System 1.0 contains an SQL injection vulnerability in the save_expired function accessed via /ajax.php?action=save_expired. The vulnerability arises from improper sanitization of the ID argument, allowing an attacker to inject arbitrary SQL commands remotely. The CVSS 4.0 base score is 5.1 (medium severity) with network attack vector, low complexity, no privileges required, no user interaction, and low impact on confidentiality, integrity, and availability. No official patch or remediation level has been published, and the product is not a cloud service. Public exploits exist but no known exploitation in the wild has been confirmed.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries on the backend database remotely, potentially leading to unauthorized data access or modification. The impact is rated medium based on CVSS 4.0 scoring, reflecting limited but non-negligible confidentiality, integrity, and availability impacts. No evidence of active exploitation in the wild has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the vulnerable endpoint and implement web application firewall (WAF) rules to detect and block SQL injection attempts targeting the ID parameter in /ajax.php?action=save_expired. Monitor for updates from SourceCodester regarding patches or official mitigations.
CVE-2026-7283: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
Description
A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts the function save_expired of the file /ajax.php?action=save_expired. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
CVSS v4.0
Score 5.1medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SourceCodester Pharmacy Sales and Inventory System 1.0 contains an SQL injection vulnerability in the save_expired function accessed via /ajax.php?action=save_expired. The vulnerability arises from improper sanitization of the ID argument, allowing an attacker to inject arbitrary SQL commands remotely. The CVSS 4.0 base score is 5.1 (medium severity) with network attack vector, low complexity, no privileges required, no user interaction, and low impact on confidentiality, integrity, and availability. No official patch or remediation level has been published, and the product is not a cloud service. Public exploits exist but no known exploitation in the wild has been confirmed.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries on the backend database remotely, potentially leading to unauthorized data access or modification. The impact is rated medium based on CVSS 4.0 scoring, reflecting limited but non-negligible confidentiality, integrity, and availability impacts. No evidence of active exploitation in the wild has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the vulnerable endpoint and implement web application firewall (WAF) rules to detect and block SQL injection attempts targeting the ID parameter in /ajax.php?action=save_expired. Monitor for updates from SourceCodester regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-28T08:02:08.566Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f0d09ecbff5d86102a30d7
Added to database: 4/28/2026, 3:22:06 PM
Last enriched: 4/28/2026, 3:36:45 PM
Last updated: 6/12/2026, 8:21:39 PM
Views: 1193
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.