CVE-2026-7087: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
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.
AI Analysis
Technical Summary
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.
CVE-2026-7087: 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. 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
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.