CVE-2026-10246: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function create_medicine_presentation of the file /ShowForm/create_medicine_presentation/main. The manipulation of the argument medicine_presentation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
AI Analysis
Technical Summary
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to perform cross-site scripting by manipulating the medicine_presentation parameter in the create_medicine_presentation function. The issue is due to insufficient input sanitization or output encoding, enabling injection of malicious scripts that could execute in the context of the affected web application. The vulnerability is publicly known, but no vendor-provided fix or official remediation is documented at this time.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the affected application, potentially leading to session hijacking, defacement, or other client-side impacts. However, the CVSS score and vector indicate that the attack complexity is low, but user interaction is required, and privileges are low. There is no indication of direct system compromise or data breach from the available information.
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 applying input validation or output encoding workarounds if feasible. Monitoring for suspicious activity related to this vulnerability is advisable. Avoiding use of the affected function or restricting access to trusted users may reduce risk.
CVE-2026-10246: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
Description
A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function create_medicine_presentation of the file /ShowForm/create_medicine_presentation/main. The manipulation of the argument medicine_presentation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/sourcecodester/pharmacy-sales-and-inventory-systemRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to perform cross-site scripting by manipulating the medicine_presentation parameter in the create_medicine_presentation function. The issue is due to insufficient input sanitization or output encoding, enabling injection of malicious scripts that could execute in the context of the affected web application. The vulnerability is publicly known, but no vendor-provided fix or official remediation is documented at this time.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the affected application, potentially leading to session hijacking, defacement, or other client-side impacts. However, the CVSS score and vector indicate that the attack complexity is low, but user interaction is required, and privileges are low. There is no indication of direct system compromise or data breach from the available information.
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 applying input validation or output encoding workarounds if feasible. Monitoring for suspicious activity related to this vulnerability is advisable. Avoiding use of the affected function or restricting access to trusted users may reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-31T10:15:15.255Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d6713e29bf47b50e7328b
Added to database: 06/01/2026, 11:03:47 UTC
Last enriched: 06/08/2026, 20:47:37 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 49
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.