CVE-2026-10245: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this issue is the function create_supplier of the file /ShowForm/create_supplier/main. Executing a manipulation of the argument company_name can lead to cross site scripting. The attack can be launched remotely. The exploit has been published and may be used.
AI Analysis
Technical Summary
This vulnerability allows an attacker to perform cross-site scripting by injecting malicious input into the company_name parameter of the create_supplier function in SourceCodester Pharmacy Sales and Inventory System 1.0. The vulnerability is remotely exploitable without requiring elevated privileges and involves insufficient input sanitization or output encoding, enabling script injection. The CVSS 4.0 base score is 5.1, indicating medium severity. No vendor-provided patch or official remediation is currently documented.
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 attacks. However, the impact is limited by the medium severity rating and the requirement for user interaction (UI:P). There is no indication of privilege escalation or server-side compromise from the available data.
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 on the company_name parameter to mitigate XSS risks. Monitoring for updates from SourceCodester is recommended.
CVE-2026-10245: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
Description
A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this issue is the function create_supplier of the file /ShowForm/create_supplier/main. Executing a manipulation of the argument company_name can lead to cross site scripting. The attack can be launched remotely. The exploit has been published 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 allows an attacker to perform cross-site scripting by injecting malicious input into the company_name parameter of the create_supplier function in SourceCodester Pharmacy Sales and Inventory System 1.0. The vulnerability is remotely exploitable without requiring elevated privileges and involves insufficient input sanitization or output encoding, enabling script injection. The CVSS 4.0 base score is 5.1, indicating medium severity. No vendor-provided patch or official remediation is currently documented.
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 attacks. However, the impact is limited by the medium severity rating and the requirement for user interaction (UI:P). There is no indication of privilege escalation or server-side compromise from the available data.
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 on the company_name parameter to mitigate XSS risks. Monitoring for updates from SourceCodester is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-31T10:15:12.149Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d6713e29bf47b50e73283
Added to database: 06/01/2026, 11:03:47 UTC
Last enriched: 06/08/2026, 20:47:27 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 45
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.